From b9087dccb3583997a671da48b1196fa2654ce091 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 16 Feb 2023 21:43:47 +0100 Subject: [PATCH] Fixed copy&paste error #181 --- kdb-bot/src/modules/database/database_on_ready_event.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdb-bot/src/modules/database/database_on_ready_event.py b/kdb-bot/src/modules/database/database_on_ready_event.py index 72f35442..af59a3b0 100644 --- a/kdb-bot/src/modules/database/database_on_ready_event.py +++ b/kdb-bot/src/modules/database/database_on_ready_event.py @@ -331,7 +331,7 @@ class DatabaseOnReadyEvent(OnReadyABC): self._logger.error(__name__, f"Cannot get UserJoinedVoiceChannel", e) def _check_user_joined_gs(self): - self._logger.debug(__name__, f"Start checking UserJoinedVoiceChannel table") + self._logger.debug(__name__, f"Start checking UserJoinedGameServer table") for guild in self._bot.guilds: guild: discord.Guild = guild @@ -370,7 +370,7 @@ class DatabaseOnReadyEvent(OnReadyABC): # todo: maybe add XP self._db_context.save_changes() except Exception as e: - self._logger.error(__name__, f"Cannot get UserJoinedVoiceChannel", e) + self._logger.error(__name__, f"Cannot get UserJoinedGameServer", e) async def on_ready(self): self._logger.debug(__name__, f"Module {type(self)} started")