All tools / Messages
Markdown and mention sanitizer
Escape Discord markdown, masked links, and @everyone/@here in user-supplied text before your bot echoes it.
Result
Escape and suppress
Backslash-escaping * _ ~ ` | > # and list markers keeps user text literal. A zero-width space after @ stops @everyone from parsing. Escaping is cosmetic; the reliable ping guard is allowed_mentions: {"parse": []} on the message.
Related: allowed_mentions builder · Bot security checklist