Properly sanitize raw member description output

This commit is contained in:
Ske 2020-03-08 10:34:47 +01:00
parent a1d91784a0
commit 8b55e1364d

View File

@ -84,7 +84,7 @@ namespace PluralKit.Bot
else
await ctx.Reply("This member does not have a description set.");
else if (ctx.MatchFlag("r", "raw"))
await ctx.Reply($"```\n{target.Description}\n```");
await ctx.Reply($"```\n{target.Description.SanitizeMentions()}\n```");
else
await ctx.Reply(embed: new EmbedBuilder()
.WithTitle("Member description")