ApplicationCommandSubCommand

Inherits: ApplicationCommandOptionBuilder < Reference < Object

Description

Helper class to build sub-command options for a slash command.

Properties

type name
Array options

Methods

return type signature
ApplicationCommandSubCommand add_option ( ApplicationCommandOptionBuilder option )
ApplicationCommandStringOption add_string_option ( String option_name )
ApplicationCommandIntegerOption add_integer_option ( String option_name )
ApplicationCommandBoolOption add_boolean_option ( String option_name )
ApplicationCommandUserOption add_user_option ( String option_name )
ApplicationCommandChannelOption add_channel_option ( String option_name )
ApplicationCommandRoleOption add_role_option ( String option_name )

Property Descriptions

  • Array options

    List of ApplicationCommandOptionBuilders.

Method Descriptions