✏️ fix cqhttp sub_type typo

This commit is contained in:
yanyongyu 2020-10-04 16:24:26 +08:00
parent 2574ef3e7a
commit 0a11bd3e8e
2 changed files with 2 additions and 2 deletions

View File

@ -521,7 +521,7 @@ class Event(BaseEvent):
"""
return self._raw_event.get("sub_type")
@type.setter
@sub_type.setter
@overrides(BaseEvent)
def sub_type(self, value) -> None:
self._raw_event["sub_type"] = value

View File

@ -791,7 +791,7 @@ class Event:
def sub_type(self) -> Optional[str]:
...
@type.setter
@sub_type.setter
def sub_type(self, value) -> None:
...