mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-18 18:06:44 +00:00
💡 add cqhttp event
This commit is contained in:
@ -52,6 +52,9 @@ class BaseEvent(abc.ABC):
|
||||
|
||||
def __init__(self, raw_event: dict):
|
||||
self._raw_event = raw_event
|
||||
"""
|
||||
原始 event
|
||||
"""
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return f"<Event {self.self_id}: {self.name} {self.time}>"
|
||||
|
Reference in New Issue
Block a user