diff --git a/bot/src/modules/realms/command/realm_group.py b/bot/src/modules/realms/command/realm_group.py index d563da39..9a24e2a4 100644 --- a/bot/src/modules/realms/command/realm_group.py +++ b/bot/src/modules/realms/command/realm_group.py @@ -366,7 +366,9 @@ class RealmGroup(DiscordCommandABC): ) return - if not self._permissions.is_member_moderator(ctx.author) and not self._realm_utils.is_realm_moderator(ctx.author.id, realm.id): + if not self._permissions.is_member_moderator(ctx.author) and not self._realm_utils.is_realm_moderator( + ctx.author.id, realm.id + ): await self._message_service.send_ctx_msg( ctx, self._t.transform("modules.realm.error.not_moderator").format(realm.name), @@ -408,7 +410,9 @@ class RealmGroup(DiscordCommandABC): ) return - if not self._permissions.is_member_moderator(ctx.author) and not self._realm_utils.is_realm_moderator(ctx.author.id, realm.id): + if not self._permissions.is_member_moderator(ctx.author) and not self._realm_utils.is_realm_moderator( + ctx.author.id, realm.id + ): await self._message_service.send_ctx_msg( ctx, self._t.transform("modules.realm.error.not_moderator").format(realm.name),