Skip to main content

Invoke

Customise the embeds raze sends when moderation commands are used.

How it works

When a moderator runs a punishment command (e.g. ;ban, ;kick), raze sends two messages:
  • Channel message — posted publicly in the channel where the command was run
  • DM — sent privately to the punished member
The invoke system lets you replace both of these with a fully custom embed, per command. Set the channel message with ;invoke (command) message, and the DM with ;invoke (command) dm.

Supported commands

Reactions

You can configure an invoke message to only add a reaction to your command instead of sending a message. To do this, use an embed script that contains no text or embeds, and only uses the {reaction: (emoji)} tag.

Variables

All standard variables are available in invoke messages. See the full list at variables. Embed scripting syntax is documented at embed scripting.