✨ 添加bot消息发送记录 (#1893)

* ✨ 添加bot消息发送记录

* 💬 文本内容修正

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
HibiKier
2025-06-16 09:21:41 +08:00
committed by GitHub
co-authored by pre-commit-ci[bot]
parent 13579f5842
commit 4cc800c832
4 changed files with 117 additions and 11 deletions
+10
View File
@@ -49,4 +49,14 @@ Config.add_plugin_config(
type=bool,
)
Config.add_plugin_config(
"hook",
"RECORD_BOT_SENT_MESSAGES",
True,
help="记录bot消息发送",
default_value=True,
type=bool,
)
nonebot.load_plugins(str(Path(__file__).parent.resolve()))