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)
|
var groups = await _repo.GetMemberGroups(conn, member.Id)
|
||||||
.Where(g => g.Visibility.CanAccess(ctx))
|
.Where(g => g.Visibility.CanAccess(ctx))
|
||||||
|
.OrderBy(g => g.Name, StringComparer.InvariantCultureIgnoreCase)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
var eb = new DiscordEmbedBuilder()
|
var eb = new DiscordEmbedBuilder()
|
||||||
|
Loading…
Reference in New Issue
Block a user