Archived
0
0
Fork 0

feat: reverse role order to match actual position as shown in official client

This commit is contained in:
Daryl Ronningen 2021-12-23 19:22:34 -08:00
parent 23028d29ed
commit 865bf024f3
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -268,7 +268,7 @@ namespace chord
node.Children.Add(new TreeNode($"{userName}#{users.Discriminator} ({userNick})")); node.Children.Add(new TreeNode($"{userName}#{users.Discriminator} ({userNick})"));
} }
rolesDict.TryAdd(roles.Position, node); rolesDict.TryAdd(Math.Abs(roles.Position - client.GetGuild(currentSelectedGuild).Roles.Count()), node);
} }
} }