fix incorrect order of passed variables for steam summary
All checks were successful
Build and Push Docker Image / build (push) Successful in 16s

This commit is contained in:
Corban-Lee Jones 2024-12-09 01:51:56 +00:00
parent ba16063eff
commit b03f1ba6df

View File

@ -93,7 +93,7 @@ class PlayersCog(commands.Cog):
re_match.group("timestamp"),
"%m-%d-%y %H:%M:%S.%f"
)
await player.update_steam_summary(self.bot.steam_api_key, re_match.group("steam_id"))
await player.update_steam_summary(re_match.group("steam_id"), self.bot.steam_api_key)
await player.save()
channel = self.bot.get_channel(self.bot.in_game_channel_id)
@ -119,7 +119,7 @@ class PlayersCog(commands.Cog):
re_match.group("timestamp"),
"%m-%d-%y %H:%M:%S.%f"
)
await player.update_steam_summary(self.bot.steam_api_key, re_match.group("steam_id"))
await player.update_steam_summary(re_match.group("steam_id"), self.bot.steam_api_key)
await player.save()
channel = self.bot.get_channel(self.bot.in_game_channel_id)