mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
WRONG FIX lol
This commit is contained in:
parent
664e1361c5
commit
2ece4adc59
1 changed files with 3 additions and 3 deletions
|
@ -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 != '':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue