feat: reverse role order to match actual position as shown in official client
This commit is contained in:
parent
23028d29ed
commit
865bf024f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue