Builders

Command Builder

Defining a slash command's name, description, and options.

A Slash Command Event needs its command registered with Discord first — the Command Builder is where you set its name, description, and the options (arguments) it accepts, each with its own type and whether it's required.

The window

List: on the left, the command then its options or subcommands, each with its type and whether it's required; click one to set it up in the middle, drag it to reorder. On the right, a preview of what a member sees typing the command. Tree: the command as a tree, with its settings or the preview beside it, as you choose.

The command itself sets:

  • What it takes: options (/ticket subject: …) or subcommands (/ticket open, /ticket close). Discord doesn't accept both at once; switching to subcommands moves the existing options into a first subcommand.
  • Visible to: permissions that hide it from members who don't have them. A server admin can change this in Discord.
  • NSFW channels only.

At the bottom, the Event that listens to it, with a link to find it on the canvas, or a link to add it if there's none.

An option sets its name, its type, its description and whether it's required. Its other settings are folded, summed up in a few words:

  • Suggested choices (text and numbers): the member picks from a list instead of typing. The label is what they see, the value what the Event receives.
  • Length (text) or Values (numbers): the minimum and maximum accepted.
  • Accepted channels (channel): the kinds of channels the member can pick.

A subcommand or a group shows what it holds: click a row to set it up. At the bottom of each form, the Event that receives the option or the subcommand, and the value to insert to read it in the next nodes. A name Discord refuses (capitals, spaces) is flagged with the one it would accept: Use … replaces it. While you type the command's name, Checking… then Available tell whether it's free among the server's deployed commands; two commands of the same Blueprint can't share a name.

Add, at the bottom, creates an option of the chosen type where you are, or a subcommand: added among the command's options, it takes them all in. A subcommand you add one into becomes a group (/ticket admin add); its neighbours stay subcommands (/ticket open). Remove, at the top of the form or by right-click in the Tree, deletes the picked item; so does the Backspace or Delete key, once confirmed. Every change goes into the draft; Cancel puts the command back as it was when you opened it.

(Full reference for every option type coming soon.)