mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Order groups alphabetically by name
This commit is contained in:
parent
10d6968734
commit
1e0ce31ffe
1 changed files with 1 additions and 0 deletions
|
|
@ -247,6 +247,7 @@ namespace PluralKit.Bot
|
|||
|
||||
var groups = (await conn.QueryGroupList(system.Id))
|
||||
.Where(g => g.Visibility.CanAccess(pctx))
|
||||
.OrderBy(g => g.Name, StringComparer.InvariantCultureIgnoreCase)
|
||||
.ToList();
|
||||
|
||||
if (groups.Count == 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue