From b03f1ba6df7f9fcf9ddf6d6c00022d47797bc8e5 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Mon, 9 Dec 2024 01:51:56 +0000 Subject: [PATCH] fix incorrect order of passed variables for steam summary --- cogs/players.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/players.py b/cogs/players.py index e7272c5..c2f8684 100644 --- a/cogs/players.py +++ b/cogs/players.py @@ -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)