DiscordApplicationCommandOption¶
Properties¶
| type | name |
|---|---|
| int | type |
| String | name |
| String | description |
| bool | required |
| Array | choices |
| Array | options |
| PoolIntArray | channel_types |
| float | min_value |
| float | max_value |
| bool | autocomplete |
Methods¶
| return type | signature |
|---|---|
| String | get_class ( ) |
Constants¶
-
Dictionary Option
-
SUB_COMMAND = 1
-
SUB_COMMAND_GROUP = 2
-
STRING = 3
-
INTEGER = 4
-
BOOLEAN = 5
-
USER = 6
-
CHANNEL = 7
-
ROLE = 8
-
MENTIONABLE = 9
-
NUMBER = 10
-
ATTACHMENT = 11
There is currently no description for this constant.
-
Property Descriptions¶
-
int type
There is currently no description for this property.
-
String name
There is currently no description for this property.
-
String description
There is currently no description for this property.
-
bool required
There is currently no description for this property.
-
Array choices
There is currently no description for this property.
-
Array options
There is currently no description for this property.
-
PoolIntArray channel_types
There is currently no description for this property.
-
float min_value
There is currently no description for this property.
-
float max_value
There is currently no description for this property.
-
bool autocomplete
There is currently no description for this property.
Method Descriptions¶
-
DiscordApplicationCommandOption DiscordApplicationCommandOption ( Dictionary data )
There is currently no description for this method.
-
String get_class ( )
There is currently no description for this method.