1
0
Fork 0
mirror of synced 2024-05-07 14:12:32 +12:00

Add an exception to ignore

This commit is contained in:
phxntxm 2018-10-14 12:23:29 -05:00
parent d00b878ecd
commit 528546664e

1
bot.py
View file

@ -77,6 +77,7 @@ async def on_command_error(ctx, error):
'Unknown Message' in str(error.original) or
'Origin Time-out' in str(error.original) or
'Bad Gateway' in str(error.original) or
'Gateway Time-out' in str(error.original) or
'Explicit content' in str(error.original)):
return
elif isinstance(error.original, aiohttp.ClientOSError):