DiscordApplicationCommand¶
Inherits: DiscordEntity < Reference < Object
Properties¶
| type | name |
|---|---|
| int | type |
| int | application_id |
| int | guild_id |
| Guild | guild |
| String | name |
| String | description |
| Array | options |
| bool | default_permission |
| int | version |
Methods¶
| return type | signature |
|---|---|
| bool | is_global ( ) |
| Guild | get_guild ( ) |
| String | get_class ( ) |
Constants¶
-
Dictionary Type
-
CHAT_INPUT = 1
-
USER = 2
-
MESSAGE = 3
There is currently no description for this constant.
-
Property Descriptions¶
-
int type
There is currently no description for this property.
-
int application_id
There is currently no description for this property.
-
int guild_id
There is currently no description for this property.
-
Guild guild
method Getter get_guild() 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.
-
Array options
There is currently no description for this property.
-
bool default_permission
There is currently no description for this property.
-
int version
There is currently no description for this property.
Method Descriptions¶
-
DiscordApplicationCommand DiscordApplicationCommand ( Dictionary data )
There is currently no description for this method.
-
bool is_global ( )
There is currently no description for this method.
-
Guild get_guild ( )
There is currently no description for this method.
-
String get_class ( )
There is currently no description for this method.