From c73c6876b2736731c2e069640a62b560db363592 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Mon, 2 Oct 2023 08:36:33 +0200 Subject: [PATCH] Fixed short role name check command --- .../modules/short_role_name/short_role_name_check_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kdb-bot/src/modules/short_role_name/short_role_name_check_command.py b/kdb-bot/src/modules/short_role_name/short_role_name_check_command.py index 9c35e239..663be0f1 100644 --- a/kdb-bot/src/modules/short_role_name/short_role_name_check_command.py +++ b/kdb-bot/src/modules/short_role_name/short_role_name_check_command.py @@ -48,7 +48,7 @@ class ShortRoleNameCheckCommand(DiscordCommandABC): return settings: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}") - if not FeatureFlagsSettings.get_flag_from_dict(settings.feature_flags, FeatureFlagsEnum.game_server): + if not FeatureFlagsSettings.get_flag_from_dict(settings.feature_flags, FeatureFlagsEnum.short_role_name): await self._message_service.send_ctx_msg(ctx, self._t.transform("common.feature_not_activated")) return