Discord Bot Command Builder
Build a chat-input (slash) command visually, get the exact registration JSON, and export ready-to-paste discord.js and discord.py code. Validated against Discord's naming, length and structural limits as you go.
Command
Slash command basics
CHAT_INPUT (type 1) only. User and message context-menu commands are a different API shape and are out of scope here.
1-32 chars, lowercase, letters/numbers/-/_ only, no spaces.
Default permissions
Who can use it by default
Server admins can override this per-server. Leave everything unchecked to let everyone use the command by default.
Not exhaustive — see Discord’s permission flags docs for the full bitmask.
default_member_permissions
4
Bot invite
Invite URL (reuses the permissions above)
Optional — generate an OAuth2 invite link using the permissions selected above. Paste your own application’s client ID.
Invite URL
Structure
Options & subcommands
Try an example, or build your own below.
Examples
Top-level structure
A command uses exactly one of these at the top level. Switching keeps each structure’s data so you can compare.
Validation
Running your own game server?
Wespner game servers with DDoS protection, NVMe drives and activation within minutes.