Sort groups on the member card alphabetically
This commit is contained in:
parent
20addea986
commit
a1da3e1386
@ -109,6 +109,7 @@ namespace PluralKit.Bot {
|
||||
|
||||
var groups = await _repo.GetMemberGroups(conn, member.Id)
|
||||
.Where(g => g.Visibility.CanAccess(ctx))
|
||||
.OrderBy(g => g.Name, StringComparer.InvariantCultureIgnoreCase)
|
||||
.ToListAsync();
|
||||
|
||||
var eb = new DiscordEmbedBuilder()
|
||||
|
Loading…
Reference in New Issue
Block a user