From af3931b2e223d0947cbd3172f0aa614bfc7a736c Mon Sep 17 00:00:00 2001 From: xsnowstorm <118460071+xsnowstorm@users.noreply.github.com> Date: Mon, 26 Feb 2024 22:27:30 +0100 Subject: [PATCH] Update category.py --- bot/category.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/category.py b/bot/category.py index 188a7ef..7102540 100644 --- a/bot/category.py +++ b/bot/category.py @@ -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):