0.3 - Statistiken (#46) #102

Merged
edraft merged 28 commits from #46 into 0.3 2022-11-09 20:55:06 +01:00
Showing only changes of commit a29e33a3f9 - Show all commits

View File

@ -35,6 +35,7 @@ class LevelSeeder(DataSeederABC):
levels = self._levels.find_levels_by_server_id(server.server_id)
if levels is None or levels.where(lambda l: l.name == level.name).first_or_default() is None:
self._levels.add_level(level)
self._logger.debug(__name__, f'Saved level {level.name}')
except discord.errors.Forbidden as e:
edraft marked this conversation as resolved Outdated

Ein DebugLog wurde entfernt. War dies gewollt?

Ein DebugLog wurde entfernt. War dies gewollt?
self._logger.error(__name__, f'Creating level failed', e)
level.permissions = 0