Merge branch '1.0.0' into #77

This commit is contained in:
Sven Heidemann 2023-02-16 21:44:53 +01:00
commit 1039a58d4f
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 27289afd5e2d020cd9fcec62a682204a93688f25 Subproject commit 3c2a863022e6656927b9360875695a6bcdc70ac9

View File

@ -331,7 +331,7 @@ class DatabaseOnReadyEvent(OnReadyABC):
self._logger.error(__name__, f"Cannot get UserJoinedVoiceChannel", e) self._logger.error(__name__, f"Cannot get UserJoinedVoiceChannel", e)
def _check_user_joined_gs(self): 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: for guild in self._bot.guilds:
guild: discord.Guild = guild guild: discord.Guild = guild
@ -370,7 +370,7 @@ class DatabaseOnReadyEvent(OnReadyABC):
# todo: maybe add XP # todo: maybe add XP
self._db_context.save_changes() self._db_context.save_changes()
except Exception as e: 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): async def on_ready(self):
self._logger.debug(__name__, f"Module {type(self)} started") self._logger.debug(__name__, f"Module {type(self)} started")