mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
feat: sort by display name in short list
This commit is contained in:
parent
2a7d4ff97d
commit
6da1bbd267
1 changed files with 6 additions and 0 deletions
|
|
@ -123,6 +123,12 @@ namespace PluralKit.Bot
|
||||||
ret += $"(birthday: {m.BirthdayString})";
|
ret += $"(birthday: {m.BirthdayString})";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case SortProperty.DisplayName:
|
||||||
|
{
|
||||||
|
if (m.DisplayName != null)
|
||||||
|
ret += $"({m.DisplayName})";
|
||||||
|
break;
|
||||||
|
}
|
||||||
case SortProperty.MessageCount:
|
case SortProperty.MessageCount:
|
||||||
{
|
{
|
||||||
if (m.MessageCountFor(lookupCtx) is { } count)
|
if (m.MessageCountFor(lookupCtx) is { } count)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue