Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| name_localizations | object | |
| description | string | |
| description_localizations | object | |
| options | array | |
| default_member_permissions | string | |
| dm_permission | boolean | |
| type | integer | |
| nsfw | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateApplicationCommandRequest",
"title": "CreateApplicationCommandRequest",
"type": "object",
"required": [
"name",
"description"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 32
},
"name_localizations": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"nullable": true
},
"description": {
"type": "string",
"maxLength": 100
},
"description_localizations": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"nullable": true
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApplicationCommandOption"
},
"maxItems": 25
},
"default_member_permissions": {
"type": "string",
"nullable": true
},
"dm_permission": {
"type": "boolean"
},
"type": {
"type": "integer",
"default": 1
},
"nsfw": {
"type": "boolean"
}
}
}