mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
Remove 60+ (whew) SanitizeMentions() calls
This commit is contained in:
parent
2c35649ef0
commit
378c49cb20
14 changed files with 66 additions and 72 deletions
|
|
@ -44,10 +44,10 @@ namespace PluralKit.Bot
|
|||
{
|
||||
var title = new StringBuilder("Members of ");
|
||||
|
||||
if (target.Name != null) title.Append($"{target.Name.SanitizeMentions()} (`{target.Hid}`)");
|
||||
if (target.Name != null) title.Append($"{target.Name} (`{target.Hid}`)");
|
||||
else title.Append($"`{target.Hid}`");
|
||||
|
||||
if (opts.Filter != null) title.Append($" matching **{opts.Filter.SanitizeMentions()}**");
|
||||
if (opts.Filter != null) title.Append($" matching **{opts.Filter}**");
|
||||
|
||||
return title.ToString();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue