Fixed short role name check command
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 3m49s

This commit is contained in:
Sven Heidemann 2023-10-02 08:36:33 +02:00
parent 8e949c3e1a
commit c73c6876b2

View File

@ -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