mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Properly sanitize raw member description output
This commit is contained in:
parent
a1d91784a0
commit
8b55e1364d
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue