diff --git a/utils/command_helpers/checks.py b/utils/command_helpers/checks.py index 0e95e05..4e324a8 100644 --- a/utils/command_helpers/checks.py +++ b/utils/command_helpers/checks.py @@ -22,7 +22,7 @@ async def predicate(ctx: MogiApplicationContext): return await check( ctx=ctx, condition=( - ctx.author.guild_permissions.is_superset( + ctx.author.top_role.permissions.is_superset( ctx.get_lounge_role("Mogi Manager").permissions ) ), @@ -37,7 +37,7 @@ async def predicate(ctx: MogiApplicationContext): return await check( ctx=ctx, condition=( - ctx.author.guild_permissions.is_superset( + ctx.author.top_role.permissions.is_superset( ctx.get_lounge_role("Moderator").permissions ) ), @@ -52,7 +52,7 @@ async def predicate(ctx: MogiApplicationContext): return await check( ctx=ctx, condition=( - ctx.author.guild_permissions.is_superset( + ctx.author.top_role.permissions.is_superset( ctx.get_lounge_role("Admin").permissions ) ),