✏️ update code style

This commit is contained in:
yanyongyu
2020-12-30 20:08:22 +08:00
parent 380977bc67
commit 55f1bd1f2d
4 changed files with 19 additions and 12 deletions

View File

@ -98,7 +98,7 @@ class Bot(BaseBot):
await handle_event(self, event)
except Exception as e:
logger.opt(colors=True, exception=e).error(
f"<r><bg #f8bbd0>Failed to handle event. Raw: {event}</bg #f8bbd0></r>"
f"<r><bg #f8bbd0>Failed to handle event. Raw: {message}</bg #f8bbd0></r>"
)
return