Skip to content

Commit

Permalink
feat(log): logexport添加上传提示
Browse files Browse the repository at this point in the history
  • Loading branch information
MX-fox committed Aug 12, 2024
1 parent 15358a8 commit 83ec843
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dice/ext_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ func RegisterBuiltinExtLog(self *Dice) {
uri = "files://" + logFile.Name()
}
SendFileToSenderRaw(ctx, msg, uri, "skip")
ReplyToSender(ctx, msg, fmt.Sprintf("日志文件「%s」已上传至群文件,请自行到群文件查看。", logFileNamePrefix))
return CmdExecuteResult{Matched: true, Solved: true}
} else {
return CmdExecuteResult{Matched: true, Solved: true, ShowHelp: true}
Expand Down

0 comments on commit 83ec843

Please sign in to comment.