Improved formatting #178
This commit is contained in:
parent
c9aeb684d6
commit
1b15e54199
@ -44,8 +44,9 @@ class Application(DiscordBotApplicationABC):
|
|||||||
try:
|
try:
|
||||||
self._logger.debug(__name__, f'Starting...')
|
self._logger.debug(__name__, f'Starting...')
|
||||||
|
|
||||||
if self._feature_flags.get_flag(FeatureFlagsEnum.api_module) and self._feature_flags.get_flag(
|
if self._feature_flags.get_flag(FeatureFlagsEnum.api_module) and \
|
||||||
FeatureFlagsEnum.api_only) and self._environment.environment_name == 'development':
|
self._feature_flags.get_flag(FeatureFlagsEnum.api_only) and \
|
||||||
|
self._environment.environment_name == 'development':
|
||||||
self._api.start()
|
self._api.start()
|
||||||
self._api.join()
|
self._api.join()
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user