staging #483

Merged
edraft merged 14 commits from staging into master 2025-01-10 15:05:38 +01:00
Showing only changes of commit 352ede1667 - Show all commits

View File

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