Fixing dblcom and top.gg

This commit is contained in:
Adriene Hutchins 2020-03-03 00:43:19 -05:00
parent 00a1265d83
commit 13c57dff51
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class BotList(commands.Cog, name='Bot List'):
# top.gg clent
self.dbl_client = dbl.DBLClient(
self.bot, self.dbots_token)
self.bot, self.dbl_token)
async def _update_logic(self):
"""Handles all statistic updating for various different bot lists."""
@ -80,7 +80,7 @@ class BotList(commands.Cog, name='Bot List'):
# Call Prereqs
dblcom_call += f"/bots/{self.bot.user.id}/stats"
dblcom_data = {'guilds': len(self.bot.guilds)}
dblcom_headers = {'Authorization': self.dblcom_token}
dblcom_headers = {'Authorization': f"Bot self.dblcom_token"}
# Call Handling
async with self.request.post(dblcom_call,