From f7f3fea7a7358c6f93303be9fc17ee30dc842569 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 15 Aug 2023 23:44:42 +0200 Subject: [PATCH] Improved feature flag defaults #334 --- kdb-bot/src/bot/config | 2 +- kdb-bot/src/bot_core/configuration/feature_flags_enum.py | 3 +-- kdb-bot/src/bot_core/configuration/feature_flags_settings.py | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/kdb-bot/src/bot/config b/kdb-bot/src/bot/config index 5e8e5caf..20adf415 160000 --- a/kdb-bot/src/bot/config +++ b/kdb-bot/src/bot/config @@ -1 +1 @@ -Subproject commit 5e8e5caf886cf99dd74339bd7cdceb2f6c0ecb88 +Subproject commit 20adf415f9f02792aa0a873fac77b308405e38a4 diff --git a/kdb-bot/src/bot_core/configuration/feature_flags_enum.py b/kdb-bot/src/bot_core/configuration/feature_flags_enum.py index 9bd72c1f..2ef3f70f 100644 --- a/kdb-bot/src/bot_core/configuration/feature_flags_enum.py +++ b/kdb-bot/src/bot_core/configuration/feature_flags_enum.py @@ -5,18 +5,17 @@ class FeatureFlagsEnum(Enum): # modules achievements_module = "AchievementsModule" api_module = "ApiModule" - admin_module = "AdminModule" auto_role_module = "AutoRoleModule" base_module = "BaseModule" boot_log_module = "BootLogModule" core_module = "CoreModule" core_extension_module = "CoreExtensionModule" + config_module = "ConfigModule" data_module = "DataModule" database_module = "DatabaseModule" level_module = "LevelModule" moderator_module = "ModeratorModule" permission_module = "PermissionModule" - config_module = "ConfigModule" # features api_only = "ApiOnly" presence = "Presence" diff --git a/kdb-bot/src/bot_core/configuration/feature_flags_settings.py b/kdb-bot/src/bot_core/configuration/feature_flags_settings.py index f4154f73..f132cc03 100644 --- a/kdb-bot/src/bot_core/configuration/feature_flags_settings.py +++ b/kdb-bot/src/bot_core/configuration/feature_flags_settings.py @@ -8,8 +8,7 @@ class FeatureFlagsSettings(ConfigurationModelABC): # modules FeatureFlagsEnum.achievements_module.value: False, # 14.06.2023 #268 FeatureFlagsEnum.api_module.value: False, # 13.10.2022 #70 - FeatureFlagsEnum.admin_module.value: False, # 02.10.2022 #48 - FeatureFlagsEnum.auto_role_module.value: True, # 03.10.2022 #54 + FeatureFlagsEnum.auto_role_module.value: False, # 03.10.2022 #54 FeatureFlagsEnum.base_module.value: True, # 02.10.2022 #48 FeatureFlagsEnum.boot_log_module.value: True, # 02.10.2022 #48 FeatureFlagsEnum.core_module.value: True, # 03.10.2022 #56