ApplicationCommandOptionBuilder

Inherits: Reference < Object

Inherited By: ApplicationCommandAttachmentOption, ApplicationCommandBoolOption, ApplicationCommandChannelOption, ApplicationCommandChoicesBuilder, ApplicationCommandMentionableOption, ApplicationCommandRoleOption, ApplicationCommandSubCommand, ApplicationCommandSubCommandGroup, ApplicationCommandUserOption

Description

Abstract command option builder.

Properties

type name
int type
String name
String description
bool required

Methods

return type signature
ApplicationCommandOptionBuilder with_description ( String option_description )
ApplicationCommandOptionBuilder is_required ( bool value )

Property Descriptions

  • int type

    Type of option.


  • String name

    Name of option.


  • String description

    Description of option.


  • bool required

    Whether the option is reuired.

Method Descriptions