From 528546664e024ae529fe2221357d727ca1228734 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Sun, 14 Oct 2018 12:23:29 -0500 Subject: [PATCH] Add an exception to ignore --- bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot.py b/bot.py index 0e8c4af..19b1060 100644 --- a/bot.py +++ b/bot.py @@ -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):