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