From d7b59e453dd8bb287dbe5cfaf867256b22b9ac2c Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 5 Mar 2025 16:36:37 +0800 Subject: [PATCH] =?UTF-8?q?feature=EF=BC=9A=E5=8A=A0=E5=85=A5=E8=AF=BB?= =?UTF-8?q?=E5=8F=96=E9=AC=BC=E9=AC=BCAPI=20=E9=BB=91=E4=B8=9D=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- group_video/bot_video.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/group_video/bot_video.py b/group_video/bot_video.py index bbad7f0..187b4e4 100644 --- a/group_video/bot_video.py +++ b/group_video/bot_video.py @@ -68,11 +68,6 @@ class BotVideo: if command[0] not in self.command: return - if len(command) == 1: - self.wcf.send_text(f"-----Bot-----\n❌命令格式错误!{self.command}", - (message.roomid if message.from_group() else message.sender), message.sender) - return - # 如果触发了指令,但是没有权限,则返回权限不足 if self.gbm.get_group_permission(message.roomid, Feature.VIDEO) == PermissionStatus.DISABLED: return