You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Not able to create subcommands like you are in JDA. For example:
GuildUtils.getGuild().upsertCommand("manage", "Manage settings")
.addSubcommands(
newSubcommandData("cooldown", "Manage user cooldowns")
.addOptions(
newOptionData(OptionType.STRING, "gamemode", "The game mode you want to test the user in", true)
.addChoices(Constants.ALL_GAMEMODE_CHOICES)
)
.addOptions(newOptionData(OptionType.USER, "user", "The user you want to manage", true))
.addOptions(newOptionData(OptionType.STRING, "action", "The action you want to perform", true)
.addChoices(
newCommand.Choice("Terminate", "terminate"),
newCommand.Choice("Shorten", "Shorten"),
newCommand.Choice("Lengthen", "lengthen")
)
)
.addOptions(newOptionData(OptionType.INTEGER, "amount", "The amount you want to shorten or lengthen the cooldown by", false))
)
Describe the solution you'd like
Creating a command group on the initialization of the integration, like:
JDAIntegrationcommandIntegration = newJDAIntegration(jda);
KCommandocommando = newKCommando(commandIntegration)
......
.addCommandGroup(newCommandGroup("group 1", "desc for group 1"))
**Describealternativesyou've considered**
UsingplainJDA
**Additionalcontext**
None
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Not able to create subcommands like you are in JDA. For example:
Describe the solution you'd like
Creating a command group on the initialization of the integration, like:
The text was updated successfully, but these errors were encountered: