refactor: update file paths to use /tmp/qqbot for image generation

This commit is contained in:
lixiangwuxian
2025-02-23 01:13:26 +08:00
parent 38940fa07f
commit e0637ab81f
4 changed files with 7 additions and 7 deletions

View File

@@ -176,7 +176,7 @@ func getMyRecentScore(msg model.Message) (reply model.Reply) {
func screenshotSS(msg model.Message) (reply model.Reply) {
return model.Reply{
ReplyMsg: "[CQ:image,file=file:///root/qqbot/" + scoresaber.GetSSPicture(strconv.Itoa(int(msg.UserId))) + "]",
ReplyMsg: "[CQ:image,file=file:///tmp/qqbot/" + scoresaber.GetSSPicture(strconv.Itoa(int(msg.UserId))) + "]",
ReferOriginMsg: true,
FromMsg: msg,
}