Package discord4j.discordjson.json
Interface ApplicationCommandData
-
@Immutable public interface ApplicationCommandData
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description String
applicationId()
unique id of the parent applicationstatic discord4j.discordjson.json.ImmutableApplicationCommandData.Builder
builder()
String
description()
1-100 character descriptionString
id()
unique id of the commandString
name()
3-32 character namediscord4j.discordjson.possible.Possible<List<ApplicationCommandOptionData>>
options()
the parameters for the command
-
-
-
Method Detail
-
builder
static discord4j.discordjson.json.ImmutableApplicationCommandData.Builder builder()
-
id
String id()
unique id of the command
-
applicationId
String applicationId()
unique id of the parent application
-
name
String name()
3-32 character name
-
description
String description()
1-100 character description
-
options
discord4j.discordjson.possible.Possible<List<ApplicationCommandOptionData>> options()
the parameters for the command
-
-