🔀 Merge pull request #131

Fix GroupMessageEvent parse error
This commit is contained in:
Ju4tCode 2021-01-01 15:25:45 +08:00 committed by GitHub
commit ebf3766cfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,7 +184,7 @@ class GroupMessageEvent(MessageEvent):
__event__ = "message.group" __event__ = "message.group"
message_type: Literal["group"] message_type: Literal["group"]
group_id: int group_id: int
anonymous: Anonymous anonymous: Optional[Anonymous] = None
@overrides(Event) @overrides(Event)
def get_event_description(self) -> str: def get_event_description(self) -> str: