Skip to content
Snippets Groups Projects
Unverified Commit ba076057 authored by dnns01's avatar dnns01 Committed by GitHub
Browse files

Change is_mod to be true for admins and mods

parent 4b6b9161
Branches
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ def is_mod(ctx):
roles = author.roles
for role in roles:
if role.id == int(os.getenv("DISCORD_MOD_ROLE")):
if role.id in [int(os.getenv("DISCORD_MOD_ROLE")), int(os.getenv("DISCORD_ADMIN_ROLE"))]:
return True
return False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment