๐Configuration
Complete guide to configuring custom commands and buttons
Getting Started
Part 1: Creating Custom Commands
Step 1: Understanding Command Structure
{
config: {
commands: {
"command_id": {
enabled: true,
command_name: "commandname",
command_description: "Description shown in Discord",
command_permission: "everyone",
command_parameters: [],
command_message_response: { ... },
actions: []
}
}
}
}Step 2: Basic Command Configuration
1. Set the Command ID
2. Set Command Name & Description
3. Set Permissions
Step 3: Creating Predefined Messages
Step 4: Configure Command Response
Step 5: Adding Command Parameters
Example: Command with User Parameter
Example: Command with String Options
Step 6: Adding Actions
Available Action Types
Step 7: Using Placeholders
Complete Command Example
Part 2: Creating Custom Buttons
Step 1: Understanding Button Structure
Step 2: Basic Button Configuration
1. Set Button ID & Type
2. Set Button Text & Emoji
3. Choose Button Style
4. Configure Link Buttons (Optional)
Step 3: Button Response & Actions
Complete Button Example
Part 3: Practical Examples
Example 1: Server Rules Command
Example 2: Support Ticket Button
Example 3: Role Selection Menu
Tips & Best Practices
Troubleshooting
Command not appearing in Discord
Predefined message not found
Actions not executing
Buttons not working
Last updated
