mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-08 23:35:33 +00:00
Escape error message before sending
This commit is contained in:
parent
203761856e
commit
e4c4db29af
|
@ -127,6 +127,7 @@ async def on_command_error(ctx, error):
|
|||
|
||||
log.error(err_msg)
|
||||
|
||||
err_msg = bot.escape_message(err_msg)
|
||||
await bot.botlog_channel.send(err_msg)
|
||||
|
||||
if isinstance(error, commands.NoPrivateMessage):
|
||||
|
|
Loading…
Reference in a new issue