From 512254a05d0fd1d080cd248bb739dc97ff7a22f3 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Fri, 6 Dec 2024 18:21:11 +0000 Subject: [PATCH] add missing steam api key --- cogs/players.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/players.py b/cogs/players.py index 148041c..ae85375 100644 --- a/cogs/players.py +++ b/cogs/players.py @@ -104,7 +104,7 @@ class PlayersCog(commands.Cog): username=re_match.group(5), connection_type=re_match.group(6) ) - await user.fetch_steam_profile() + await user.fetch_steam_profile(self.bot.steam_api_key) channel = self.bot.get_channel(self.bot.in_game_channel_id) channel = await self.bot.fetch_channel(self.bot.in_game_channel_id) if not channel else channel @@ -135,7 +135,7 @@ class PlayersCog(commands.Cog): username=re_match.group(5), connection_type=re_match.group(6) ) - await user.fetch_steam_profile() + await user.fetch_steam_profile(self.bot.steam_api_key) channel = self.bot.get_channel(self.bot.in_game_channel_id) channel = await self.bot.fetch_channel(self.bot.in_game_channel_id) if not channel else channel