XP abziehen bei löschen einer Nachricht #178 #180

Merged
edraft merged 5 commits from #178 into 0.3.1 2023-01-13 23:06:23 +01:00
Showing only changes of commit 1b15e54199 - Show all commits

View File

@ -44,8 +44,9 @@ class Application(DiscordBotApplicationABC):
try:
self._logger.debug(__name__, f'Starting...')
if self._feature_flags.get_flag(FeatureFlagsEnum.api_module) and self._feature_flags.get_flag(
FeatureFlagsEnum.api_only) and self._environment.environment_name == 'development':
if self._feature_flags.get_flag(FeatureFlagsEnum.api_module) and \
self._feature_flags.get_flag(FeatureFlagsEnum.api_only) and \
self._environment.environment_name == 'development':
self._api.start()
self._api.join()
return