From d364ea1b4c69467d0d305f483d04a48695db98aa Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 21 Aug 2023 18:59:41 +0200 Subject: [PATCH] Fixed achievement voice state #353 --- .../events/achievement_on_voice_state_update_event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdb-bot/src/modules/achievements/events/achievement_on_voice_state_update_event.py b/kdb-bot/src/modules/achievements/events/achievement_on_voice_state_update_event.py index 2d9417a1..6f60e06e 100644 --- a/kdb-bot/src/modules/achievements/events/achievement_on_voice_state_update_event.py +++ b/kdb-bot/src/modules/achievements/events/achievement_on_voice_state_update_event.py @@ -40,7 +40,7 @@ class AchievementOnVoiceStateUpdateEvent(OnVoiceStateUpdateABC): if member.guild is None: return - if member.author.bot: + if member.bot: return server_config: ServerConfig = self._config.get_configuration(f"ServerConfig_{member.guild.id}")