From 3758e596f16f6cc7e78acbb43ba591d6f0b7d881 Mon Sep 17 00:00:00 2001 From: witherr Date: Fri, 1 Nov 2024 23:51:05 +0530 Subject: [PATCH] Fix manager checks --- helpers/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/checks.py b/helpers/checks.py index 5d4644f..6fe1c9b 100644 --- a/helpers/checks.py +++ b/helpers/checks.py @@ -19,11 +19,11 @@ def is_community_manager(): def is_bot_manager(): - return commands.check_any(commands.is_owner(), commands.has_role(*constants.BOT_MANAGER_ROLES)) + return commands.check_any(commands.is_owner(), commands.has_any_role(*constants.BOT_MANAGER_ROLES)) def is_server_manager(): - return commands.check_any(commands.is_owner(), commands.has_role(*constants.SERVER_MANAGER_ROLES)) + return commands.check_any(commands.is_owner(), commands.has_any_role(*constants.SERVER_MANAGER_ROLES)) def is_moderator():