mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
fix rule
This commit is contained in:
parent
db54df6ce5
commit
8f46cffa44
1
bot.py
1
bot.py
@ -14,6 +14,7 @@ nonebot.load_plugins("plugins/shop")
|
||||
nonebot.load_plugins("plugins/genshin")
|
||||
nonebot.load_plugins("plugins/alapi")
|
||||
nonebot.load_plugins("plugins/pix_gallery")
|
||||
nonebot.load_plugins("plugins/admin_bot_manage")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@ -115,7 +115,10 @@ AUTO_UPDATE_ZHENXUN: bool = True
|
||||
|
||||
# 群管理员功能 与 对应权限
|
||||
admin_plugins_auth = {
|
||||
"admin_bot_manage": OC_LEVEL,
|
||||
"custom_welcome_message": OC_LEVEL,
|
||||
"group_notification_state": OC_LEVEL,
|
||||
"switch_rule": OC_LEVEL,
|
||||
"update_group_member_info": OC_LEVEL,
|
||||
"ban": BAN_LEVEL,
|
||||
"delete_img": DELETE_IMG_LEVEL,
|
||||
"move_img": MOVE_IMG_LEVEL,
|
||||
|
||||
@ -11,7 +11,8 @@
|
||||
"plugins/search_buff_skin_price",
|
||||
"plugins/super_help",
|
||||
"plugins/update_setu",
|
||||
"plugins/yiqing"
|
||||
"plugins/yiqing",
|
||||
"bot.py"
|
||||
],
|
||||
"add_file": ["plugins/nbnhhsh.py", "plugins/roll.py"],
|
||||
"delete_file": []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user