Escape error message before sending
This commit is contained in:
parent
203761856e
commit
e4c4db29af
1 changed files with 1 additions and 0 deletions
|
@ -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