Fix: Escape Backticks (#192)

This commit is contained in:
BeeFox-sys
2020-07-05 20:55:21 +10:00
committed by GitHub
parent 0d2777c1d1
commit 55ea314b42
6 changed files with 17 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ namespace PluralKit.Bot
var proxyTagsString = m.ProxyTagsString();
if (proxyTagsString.Length > 100) // arbitrary threshold for now, tweak?
proxyTagsString = "tags too long, see member card";
return $"[`{m.Hid}`] **{m.NameFor(ctx)}** *({proxyTagsString})*";
return $"[`{m.Hid}`] **{m.NameFor(ctx)}** *(*{proxyTagsString}*)*";
}
return $"[`{m.Hid}`] **{m.NameFor(ctx)}**";