Skip to content

Commit

Permalink
Update category.py
Browse files Browse the repository at this point in the history
  • Loading branch information
xsnowstorm authored Feb 26, 2024
1 parent 8d9391a commit af3931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class PresenceCategory(Category):

def check_permissions(self, message: discord.Message) -> bool:
# Check for a specific role in the member
return any([i.id == config.mod_role_id for i in message.author.roles])
return any([i.id in config.mod_role_id for i in message.author.roles])


class ModCategory(Category):
Expand Down

0 comments on commit af3931b

Please sign in to comment.