Properly show tags containing markdown in system embed
This commit is contained in:
parent
792acad50a
commit
f55c638f41
@ -46,7 +46,7 @@ namespace PluralKit.Bot {
|
|||||||
string.Join(", ", switchMembers.Select(m => m.Name)));
|
string.Join(", ", switchMembers.Select(m => m.Name)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (system.Tag != null) eb.AddField("Tag", system.Tag);
|
if (system.Tag != null) eb.AddField("Tag", system.Tag.EscapeMarkdown());
|
||||||
eb.AddField("Linked accounts", string.Join(", ", users).Truncate(1000), true);
|
eb.AddField("Linked accounts", string.Join(", ", users).Truncate(1000), true);
|
||||||
|
|
||||||
if (system.MemberListPrivacy.CanAccess(ctx))
|
if (system.MemberListPrivacy.CanAccess(ctx))
|
||||||
|
Loading…
Reference in New Issue
Block a user