diff --git a/bot/src/bot_core/service/permission_service.py b/bot/src/bot_core/service/permission_service.py index 96dc92a5..de76e15a 100644 --- a/bot/src/bot_core/service/permission_service.py +++ b/bot/src/bot_core/service/permission_service.py @@ -74,7 +74,7 @@ class PermissionService(PermissionServiceABC): self._logger.debug(__name__, f"Checking is member {member.name} {team_member_type.value}") has_permission = True in [ - member.guild.get_role(x.role_id) not in member.roles + member.guild.get_role(x.role_id) in member.roles for x in self._server_configs.get_server_config_by_server( self._servers.get_server_by_discord_id(member.guild.id).id ).team_role_ids