Output controls
Delete the trigger, stay silent, redirect the reply, DM it, react, thread it, or rate-limit it.
Output directives change how a custom command delivers its response. Write them anywhere in the script — they are stripped from the message before it is sent.
Directives are read from the saved script, before any variable is substituted. That means they cannot be injected by whoever runs the command, and it also means their values must be written literally — {respond: {channel}} will not resolve.
Directives
delete
silent
respond
dm
cooldown
Deletes the invoking message once the command has run. raze needs Manage Messages; if it can’t delete, the rest of the command still works. Suppresses the reply entirely. Actions, database writes, reactions, and role changes still run — this is how you build a command that only does something. Sends the reply to another channel instead of the one the command was typed in. Accepts a channel mention, a channel ID, or an exact channel name. An unresolvable channel falls back to the invocation channel; if raze lacks permission to post in the destination, nothing is sent. Delivers the reply as a direct message. Bare {dm}, {dm: user}, and {dm: self} all target the invoker; a mention or ID targets that member instead. A closed DM silently drops the message. Rate-limits the command per member. Durations combine units — 30s, 10m, 1h30m, 2d. Someone on cooldown gets told how many seconds remain and nothing else runs.Cooldowns are tracked in Redis. If Redis is unavailable the command runs rather than failing shut.
Directives combine freely:
These are ordinary script tags rather than directives, but they shape the delivered message.
Role tags apply to the invoker, so any member who can run the command can self-assign that role. Roles above raze and roles carrying Administrator are refused. Gate the command with restrictions if that isn’t what you want.
Interaction with pages
A script that uses both {page} and a redirect still paginates, as long as the destination is a normal server channel. With {dm} or {silent}, only page 1 is delivered and no navigation is attached, because the page set has to be registered against a message in a guild.