mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-11 15:00:00 +08:00
⚡️ 优化权限判断
This commit is contained in:
@@ -40,4 +40,13 @@ Config.add_plugin_config(
|
||||
type=int,
|
||||
)
|
||||
|
||||
Config.add_plugin_config(
|
||||
"hook",
|
||||
"IS_SEND_TIP_MESSAGE",
|
||||
True,
|
||||
help="是否发送阻断时提示消息",
|
||||
default_value=True,
|
||||
type=bool,
|
||||
)
|
||||
|
||||
nonebot.load_plugins(str(Path(__file__).parent.resolve()))
|
||||
|
||||
Reference in New Issue
Block a user