Skip to content

Commit

Permalink
make owner an admin
Browse files Browse the repository at this point in the history
  • Loading branch information
greeeen-dev committed Sep 24, 2024
1 parent 57b04b8 commit 821dc1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microfier.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class Colors: # format: 0xHEXCODE
def is_user_admin(user_id):
try:
global admin_ids
if user_id in admin_ids:
if user_id in admin_ids or user_id == config['owner']:
return True
else:
return False
Expand Down

0 comments on commit 821dc1a

Please sign in to comment.