Fixed realm group #481
This commit is contained in:
parent
405055edf5
commit
352ede1667
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user