add missing steam api key
All checks were successful
Build and Push Docker Image / build (push) Successful in 17s

This commit is contained in:
Corban-Lee Jones 2024-12-06 18:21:11 +00:00
parent 7bb2c8dbef
commit 512254a05d

View File

@ -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