style: format with ruff 0.9
This commit is contained in:
parent
57809fe26d
commit
8cbd7d6aef
2
core.py
2
core.py
@ -152,7 +152,7 @@ async def on_message(message, edited=False):
|
||||
except Exception as e:
|
||||
await utils.reply(
|
||||
message,
|
||||
f"exception occurred while processing command: ```\n{"".join(traceback.format_exception(e)).replace("`", "\\`")}```",
|
||||
f"exception occurred while processing command: ```\n{''.join(traceback.format_exception(e)).replace('`', '\\`')}```",
|
||||
)
|
||||
raise e
|
||||
finally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user