Ignore unknown command error logging

This commit is contained in:
Ave Ozkal 2019-01-07 11:51:27 +03:00
parent 48a22c5fa8
commit 31e712be86
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B

View file

@ -130,6 +130,7 @@ async def on_command_error(ctx, error):
log.error(err_msg)
if not isinstance(error, commands.CommandNotFound):
err_msg = bot.escape_message(err_msg)
await bot.botlog_channel.send(err_msg)