Skip to content

Commit

Permalink
⭐ add perm for admin group, id by id
Browse files Browse the repository at this point in the history
  • Loading branch information
mdubois committed Sep 20, 2024
1 parent 7939443 commit a27d6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def extract_technologies(description, technologies):

def is_admin():
async def predicate(ctx):
if ctx.author.id == 360058840240226316 or ctx.author.guild_permissions.administrator:
if ctx.author.id == 360058840240226316 or ctx.author.id == 190547491916087296 or ctx.author.id == 163179195042758657:
return True
else:
raise commands.MissingPermissions(["administrator"])
Expand Down

0 comments on commit a27d6fa

Please sign in to comment.