mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-12 15:06:59 +00:00
change rule and event handle
This commit is contained in:
@ -63,11 +63,7 @@ class Bot(BaseBot):
|
||||
if "message" in event.keys():
|
||||
event["message"] = Message(event["message"])
|
||||
|
||||
# TODO: Handle Meta Event
|
||||
if event.type == "meta_event":
|
||||
pass
|
||||
else:
|
||||
await handle_event(self, event)
|
||||
await handle_event(self, event)
|
||||
|
||||
async def call_api(self, api: str, data: dict):
|
||||
# TODO: Call API
|
||||
|
Reference in New Issue
Block a user