Merge pull request #177 from acw0/bugfix/tag-markdown
Properly show tags containing markdown in system embed
This commit is contained in:
commit
4a4d980349
@ -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