From e4c4db29afc2f3a7e3c5e6a23a80a901b1c40f83 Mon Sep 17 00:00:00 2001 From: Ave Ozkal Date: Mon, 31 Dec 2018 02:07:33 +0300 Subject: [PATCH] Escape error message before sending --- Robocop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Robocop.py b/Robocop.py index f03ea9d..1ec8046 100755 --- a/Robocop.py +++ b/Robocop.py @@ -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):