diff --git a/disco/types/guild.py b/disco/types/guild.py index 6fd8a23..a48b9a9 100644 --- a/disco/types/guild.py +++ b/disco/types/guild.py @@ -350,7 +350,8 @@ class Guild(SlottedModel, Permissible): value = PermissionValue(self.roles.get(self.id).permissions) - for role in map(self.roles.get, member.roles): + # Iterate over all roles the user has (plus the @everyone role) + for role in map(self.roles.get, member.roles + [self.id]): value += role.permissions return value