diff options
| -rw-r--r-- | bot/cogs/events.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bot/cogs/events.py b/bot/cogs/events.py index 281e212ff..9a0b0b106 100644 --- a/bot/cogs/events.py +++ b/bot/cogs/events.py @@ -136,8 +136,7 @@ class Events: ) elif isinstance(e, CommandInvokeError): if isinstance(e.original, ClientResponseError): - return await ctx.send("There was some response error but I can't put my finger on what exactly.") - if e.original.status == 404: + if e.original.code == 404: await ctx.send("There does not seem to be anything matching your query.") else: await ctx.send("BEEP BEEP UNKNOWN API ERROR!=?!??!?!?!?") |