移除赛马帮助命令的管理员权限鉴权
This commit is contained in:
@@ -8,9 +8,6 @@ help_cmd = on_command("赛马帮助", priority=5)
|
|||||||
@help_cmd.handle()
|
@help_cmd.handle()
|
||||||
async def handle_help(bot: Bot, event: Event):
|
async def handle_help(bot: Bot, event: Event):
|
||||||
"""Handle help command."""
|
"""Handle help command."""
|
||||||
if not await check_access(bot, event):
|
|
||||||
await help_cmd.finish("无权限访问此功能")
|
|
||||||
return
|
|
||||||
help_text = f"""🏇 赛马游戏帮助
|
help_text = f"""🏇 赛马游戏帮助
|
||||||
|
|
||||||
📌 命令列表:
|
📌 命令列表:
|
||||||
|
|||||||
Reference in New Issue
Block a user