mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Fixing dblcom and top.gg
This commit is contained in:
parent
00a1265d83
commit
13c57dff51
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ class BotList(commands.Cog, name='Bot List'):
|
||||||
|
|
||||||
# top.gg clent
|
# top.gg clent
|
||||||
self.dbl_client = dbl.DBLClient(
|
self.dbl_client = dbl.DBLClient(
|
||||||
self.bot, self.dbots_token)
|
self.bot, self.dbl_token)
|
||||||
|
|
||||||
async def _update_logic(self):
|
async def _update_logic(self):
|
||||||
"""Handles all statistic updating for various different bot lists."""
|
"""Handles all statistic updating for various different bot lists."""
|
||||||
|
@ -80,7 +80,7 @@ class BotList(commands.Cog, name='Bot List'):
|
||||||
# Call Prereqs
|
# Call Prereqs
|
||||||
dblcom_call += f"/bots/{self.bot.user.id}/stats"
|
dblcom_call += f"/bots/{self.bot.user.id}/stats"
|
||||||
dblcom_data = {'guilds': len(self.bot.guilds)}
|
dblcom_data = {'guilds': len(self.bot.guilds)}
|
||||||
dblcom_headers = {'Authorization': self.dblcom_token}
|
dblcom_headers = {'Authorization': f"Bot self.dblcom_token"}
|
||||||
|
|
||||||
# Call Handling
|
# Call Handling
|
||||||
async with self.request.post(dblcom_call,
|
async with self.request.post(dblcom_call,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue