mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 16:51:26 +00:00
🐛 fix missing group_id when PokeNotifyEvent
This commit is contained in:
@ -319,6 +319,7 @@ class PokeNotifyEvent(NotifyEvent):
|
|||||||
__event__ = "notice.notify.poke"
|
__event__ = "notice.notify.poke"
|
||||||
sub_type: Literal["poke"]
|
sub_type: Literal["poke"]
|
||||||
target_id: int
|
target_id: int
|
||||||
|
group_id: Optional[int] = None
|
||||||
|
|
||||||
@overrides(Event)
|
@overrides(Event)
|
||||||
def is_tome(self) -> bool:
|
def is_tome(self) -> bool:
|
||||||
|
Reference in New Issue
Block a user