Pre Merge pull request !124 from 千奈千祁/N/A

This commit is contained in:
千奈千祁 2023-11-16 17:31:03 +00:00 committed by Gitee
commit dcc28c7806
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,8 @@ log_level: info
ignore_self: true
# 被风控时是否尝试用分片发送
resend: false
# 发送消息错误时是否通知主人
sendmsg_error: false
# ffmpeg
ffmpeg_path:
ffprobe_path:

View File

@ -537,6 +537,7 @@ class PluginsLoader {
}
logger.error(`发送消息错误:${msg}`)
logger.error(err)
if(cfg.bot.sendmsg_error) Bot[Bot.uin].pickUser(cfg.masterQQ[0]).sendMsg(`发送消息错误:${msg}`)
}
// 频道一下是不是频道