From 79278d8f4b9c9b029817270065c6f0f2a60482e1 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 24 Oct 2023 19:38:30 +0200 Subject: [PATCH] Fixed sync by member command --- bot/src/modules/technician/command/sync_xp_command.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/src/modules/technician/command/sync_xp_command.py b/bot/src/modules/technician/command/sync_xp_command.py index e54a770f..f2d3e06a 100644 --- a/bot/src/modules/technician/command/sync_xp_command.py +++ b/bot/src/modules/technician/command/sync_xp_command.py @@ -129,7 +129,8 @@ class SyncXpGroup(DiscordCommandABC): other_server = self._servers.get_server_by_id(server_id) user = self._users.get_user_by_discord_id_and_server_id( - self._servers.get_server_by_discord_id(ctx.guild.id).id, member.id + member.id, + self._servers.get_server_by_discord_id(ctx.guild.id).id ) try: