Discord has (very primitive) support for text replacement using sed syntax.

Tutorial link icon

If you send a message using sed substitution format (s/old text/new text), Discord will execute it on the message you’ve last sent.

Caveats link icon

  • Regex is not supported
  • Global substitution is not supported

This post was adapted from gitea:bbaovanc/discord-tricks