🔊 revert log string

This commit is contained in:
yanyongyu
2020-12-19 14:16:47 +08:00
parent a539fd0062
commit a88a2f4a4f
2 changed files with 4 additions and 1 deletions

View File

@ -209,7 +209,7 @@ async def handle_event(bot: "Bot", event: "Event"):
show_log = True
log_msg = f"<m>{bot.type.upper()} {bot.self_id}</m> | "
try:
log_msg += str(event)
log_msg += event.get_log_string()
except NoLogException:
show_log = False
if show_log: