Tools › Slash command builder

Discord slash command builder

Name it, add options and choices, and copy the JSON for Discord's API or ready code for discord.js and discord.py.

Command

Translation (optional)

Options

Subcommands group the other options under them.

Preview

How to use it

  1. Name itLowercase, up to 32 characters, with a short description.
  2. Add optionsText, numbers, users, channels, files, with choices or as subcommands.
  3. Copy the codeRegister the JSON, or paste the discord.js or discord.py code into your bot.

Questions

Why must the name be lowercase?

Discord only accepts lowercase letters, numbers, - and _ in command and option names.

How many options can a command have?

Up to 25 options, and up to 25 choices per option.

Why does my new command not show up?

Global commands can take a while to appear; commands registered for one server show at once. Restart Discord if it still does not.

Related tools

Made a bot? List it on Nunu List and post your server count with the API.