Skip to content

Commit

Permalink
Merge pull request #198 from xsnowstorm/xsnowstorm-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
logicguy1 authored Feb 28, 2024
2 parents 8d9391a + af3931b commit a940946
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 a940946

Please sign in to comment.