CC Command
This command allows server administrators to manage custom commands (CC) within their server. Users can create, edit, delete, and list custom commands that can be used by members of the server.
/cc create
Section titled “/cc create”This command allows users to create a custom command.
Use the command followed by the name, description, and options (if applicable) to create a custom command.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| name | String | The name of the custom command | Yes | N/A |
| description | String | The description of the custom command | Yes | N/A |
| options | String | JSON representation of a discord.js options array | No | N/A |
/cc create name:hello description:Says hello options:[{"name": "user", "type": 6, "description": "The user to say hello to", "required": true}]- Creates a custom command named “hello” that takes a user option.
- Users need the “Manage Server” permission to use this command.
/cc delete
Section titled “/cc delete”This command allows users to delete a custom command.
Use the command followed by the name of the custom command you want to delete.
| Parameter | Type | Description | Required | Choices |
|---|---|---|---|---|
| name | String | The name of the custom command | Yes | N/A |
/cc delete name:hello- Deletes the custom command named “hello”.
- Users need the “Manage Server” permission to use this command.