If you want your bot to feel professional, every command should be clear, predictable, and easy to maintain.
This guide shows you exactly how to build a command in Bot Creator.
1. Open the Command Builder
- Go to Commands.
- Click Create command.
2. Fill in Command Info
- Set the Name.
- Set the Description.
- Choose where the command can be installed:
- Guild Install
- User Install
- Choose command Contexts:
- Guild
- Bot DM
- Group DM / Other
- (Optional) Set Default Member Permissions.
Name rules
- Max 32 characters
- No spaces
- Letters, numbers, and underscores only
- Do not start with special characters like
_,!,/,#,@,&,%
3. Configure Command Reply
Choose one response type:
- Normal Reply
- Component V2
- Modal Form
For text replies, use variables like:
((userName))((commandName))((opts.yourOptionName))
Open Configure Response Workflow if you want:
- Public vs Ephemeral response
- Auto-defer while actions run
- Conditional THEN/ELSE responses
4. Add Command Options (Parameters)
In Command Options, click Add Option and configure:
- Name
- Description
- Type (String, Integer, Boolean, User, Channel, Role, Mentionable, Number, Attachment)
- Required or optional
- Choices (if applicable)
Keep options focused. Only add parameters users actually need.
5. Add Runtime Actions
In Actions, click Build Actions to define what happens after the command is triggered.
You can also:
- Save actions as a reusable workflow
- Reuse global variables
- Link command behavior with workflow logic
6. Save and Test
- Click Create command.
- Go to Discord and run
/your_command_name. - Verify:
- Reply content
- Variables resolution
- Option values
- Visibility (public/ephemeral)
- Action execution
Best Practices
- Use short, readable command names.
- Write user-facing descriptions, not technical notes.
- Keep the first version minimal, then iterate.
- Prefer reusable workflows for repeated logic.
- Test in both Guild and DM contexts when relevant.
Common Errors
- “Please fill all fields”: Name or description is missing.
- Command does not appear: check install type/context and bot permissions.
- Variables not replaced: confirm syntax is exactly
((variableName)). - Wrong action result: test actions step-by-step in the builder.