mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 02:55:18 +08:00
🔇 reduce log for meta event #21
This commit is contained in:
parent
927a963d4f
commit
1d31e646ad
@ -74,7 +74,7 @@ async def handle_event(bot: Bot, event: Event):
|
||||
elif event.type == "request":
|
||||
log_msg += f"Request {event.raw_event}"
|
||||
elif event.type == "meta_event":
|
||||
log_msg += f"MetaEvent {event.raw_event}"
|
||||
log_msg += f"MetaEvent {event.detail_type}"
|
||||
logger.opt(colors=True).info(log_msg)
|
||||
|
||||
coros = []
|
||||
|
Loading…
Reference in New Issue
Block a user