feat: sort by display name in short list
This commit is contained in:
parent
2a7d4ff97d
commit
6da1bbd267
@ -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…
Reference in New Issue
Block a user