Skip to content

Commit

Permalink
Merge pull request #224 from Bot-detector/develop
Browse files Browse the repository at this point in the history
change permissions
  • Loading branch information
extreme4all authored May 23, 2024
2 parents b77d5f8 + 2bb4afa commit 81c7489
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/utils/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@


OWNER_ROLE = 817917060796776469
STAFF_ROLE = 858763870042456084
DISCORD_STAFF = 1008398916586311762
VERIFICATION_STAFF = 1008399409488330863
COMMUNITY_MANAGER = 1239098305619820554
HEAD_DETECTIVE_ROLE = 855341635079503872
DETECTIVE_ROLE = 830507560783183888
PATREON_ROLE = 830782790786220104
Expand All @@ -24,7 +26,12 @@
GENERAL_COMMANDS_CHANNEL,
)

PREVILEGED_ROLES = (OWNER_ROLE, STAFF_ROLE)
PREVILEGED_ROLES = (
OWNER_ROLE,
COMMUNITY_MANAGER,
DISCORD_STAFF,
VERIFICATION_STAFF,
)


async def is_allowed_channel(ctx: Context):
Expand Down

0 comments on commit 81c7489

Please sign in to comment.