From 5c3a444a6c3d77357832ab27cbe6197d1f3f9334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Sat, 16 Dec 2023 16:48:03 +0800 Subject: [PATCH] :art: Update Bot Command --- plugins/admin/set_command.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/admin/set_command.py b/plugins/admin/set_command.py index f63209c2..23f585b6 100644 --- a/plugins/admin/set_command.py +++ b/plugins/admin/set_command.py @@ -82,6 +82,7 @@ class SetCommandPlugin(Plugin): BotCommand("send_log", "发送日志"), BotCommand("update", "更新"), BotCommand("set_command", "重设命令"), + BotCommand("status", "当前Bot运行状态"), ] await context.bot.set_my_commands(commands=group_command) # 留空,default 为 botCommandScopeDefault, 所有聊天可见 await context.bot.set_my_commands(commands=user_command + group_command, scope=BotCommandScopeAllPrivateChats())