mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update __init__.py
This commit is contained in:
parent
d55cba49bd
commit
e75a4966b2
@ -4,6 +4,10 @@ from ._rule import rule
|
|||||||
from configs.config import Config
|
from configs.config import Config
|
||||||
from nonebot import on_message
|
from nonebot import on_message
|
||||||
|
|
||||||
|
__zx_plugin_name__ = "消息存储 [Hidden]"
|
||||||
|
__plugin_version__ = 0.1
|
||||||
|
__plugin_author__ = "HibiKier"
|
||||||
|
|
||||||
|
|
||||||
Config.add_plugin_config(
|
Config.add_plugin_config(
|
||||||
"chat_history",
|
"chat_history",
|
||||||
@ -15,7 +19,7 @@ Config.add_plugin_config(
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
chat_history = on_message(rule=rule)
|
chat_history = on_message(rule=rule, priority=1, block=False)
|
||||||
|
|
||||||
# test = on_command("aa")
|
# test = on_command("aa")
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user