mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-01-19 10:11:53 +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