Fixed short role name check command
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 3m49s
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 3m49s
This commit is contained in:
parent
8e949c3e1a
commit
c73c6876b2
@ -48,7 +48,7 @@ class ShortRoleNameCheckCommand(DiscordCommandABC):
|
|||||||
return
|
return
|
||||||
|
|
||||||
settings: ServerConfig = self._config.get_configuration(f"ServerConfig_{ctx.guild.id}")
|
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"))
|
await self._message_service.send_ctx_msg(ctx, self._t.transform("common.feature_not_activated"))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user