Create command
create_commandCreates a slash command, optionally with edits that build its flow. A subcommand is its own command named like 'mod ban'. Discord shows new commands within a minute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name, lowercase, like 'ping'. | |
| edits | No | The edits to make to the flow, applied in order. | |
| app_id | Yes | The ID of the app, from list_apps. | |
| enabled | No | Whether it runs right away. Defaults to true. | |
| description | Yes | What it does, shown in Discord. |