Sort groups on the member card alphabetically

This commit is contained in:
Ske 2020-08-30 17:03:28 +02:00
parent 20addea986
commit a1da3e1386

View File

@ -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()