mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-12-01 01:25:07 +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":
|
elif event.type == "request":
|
||||||
log_msg += f"Request {event.raw_event}"
|
log_msg += f"Request {event.raw_event}"
|
||||||
elif event.type == "meta_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)
|
logger.opt(colors=True).info(log_msg)
|
||||||
|
|
||||||
coros = []
|
coros = []
|
||||||
|
Loading…
Reference in New Issue
Block a user