This commit is contained in:
Windpicker-owo
2025-09-23 13:14:44 +08:00
5 changed files with 77 additions and 6 deletions

View File

@@ -73,7 +73,7 @@ class BaseCommand(ABC):
return True
# 检查是否为群聊消息
is_group = hasattr(self.message, "is_group_message") and self.message.is_group_message
is_group = self.message.message_info.group_info
if self.chat_type_allow == ChatType.GROUP and is_group:
return True