Correct word in member find title
This commit is contained in:
parent
e70236b9c0
commit
2268a33600
@ -119,7 +119,7 @@ namespace PluralKit.Bot
|
|||||||
var searchTerm = ctx.RemainderOrNull() ?? throw new PKSyntaxError("You must specify a search term.");
|
var searchTerm = ctx.RemainderOrNull() ?? throw new PKSyntaxError("You must specify a search term.");
|
||||||
|
|
||||||
var embedTitle = system.Name != null
|
var embedTitle = system.Name != null
|
||||||
? $"Members of {system.Name.SanitizeMentions()} (`{system.Hid}`) **{searchTerm.SanitizeMentions()}**"
|
? $"Members of {system.Name.SanitizeMentions()} (`{system.Hid}`) matching **{searchTerm.SanitizeMentions()}**"
|
||||||
: $"Members of `{system.Hid}` matching **{searchTerm.SanitizeMentions()}**";
|
: $"Members of `{system.Hid}` matching **{searchTerm.SanitizeMentions()}**";
|
||||||
|
|
||||||
bool Filter(PKMember member) =>
|
bool Filter(PKMember member) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user