🔇 reduce log for meta event #21

This commit is contained in:
yanyongyu 2020-10-08 21:25:13 +08:00
parent 927a963d4f
commit 1d31e646ad

View File

@ -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 = []