aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-08-05 22:19:30 +0200
committerGravatar Johannes Christ <[email protected]>2019-08-05 22:19:30 +0200
commit7083e892efe1ba0cb33537dc182b593abdad272f (patch)
treedae1ecb1f8a776706796e458f149ff11cedab3ec
parentBe more helpful. (diff)
Blame Mark.
-rw-r--r--bot/cogs/error_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/error_handler.py b/bot/cogs/error_handler.py
index de880fcf5..2063df09d 100644
--- a/bot/cogs/error_handler.py
+++ b/bot/cogs/error_handler.py
@@ -67,7 +67,7 @@ class ErrorHandler:
if e.original.response.status == 404:
await ctx.send("There does not seem to be anything matching your query.")
elif e.original.response.status == 400:
- content = await e.original.resopnse.json()
+ content = await e.original.response.json()
log.debug("API gave bad request on command. Response: %r.", content)
await ctx.send("According to the API, your request is malformed.")
elif 500 <= e.original.response.status < 600: