staging #453

Merged
edraft merged 18 commits from staging into master 2023-12-04 23:04:31 +01:00
Showing only changes of commit 9976c59302 - Show all commits

View File

@ -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