WRONG FIX lol

This commit is contained in:
Adriene Hutchins 2020-03-19 18:32:00 -04:00
parent 664e1361c5
commit 2ece4adc59

View file

@ -57,7 +57,8 @@ class BotList(commands.Cog, name='Bot List'):
async with self.request.post(dbots_call, async with self.request.post(dbots_call,
json=dbots_data, json=dbots_data,
headers=dbots_headers) as resp: headers=dbots_headers) as resp:
responses['dbots'] = resp.status resp_json = await resp.json()
responses['dbots'] = resp_json
# bots.ondiscord.xyz # bots.ondiscord.xyz
if self.bod_token != '': if self.bod_token != '':
@ -71,8 +72,7 @@ class BotList(commands.Cog, name='Bot List'):
async with self.request.post(bod_call, async with self.request.post(bod_call,
json=bod_data, json=bod_data,
headers=bod_headers) as resp: headers=bod_headers) as resp:
resp_json = await resp.json() responses['bod'] = resp.status
responses['bod'] = resp_json
# discordbotlist.com # discordbotlist.com
if self.dblcom_token != '': if self.dblcom_token != '':