ApplicationCommandStringOption¶
Inherits: ApplicationCommandChoicesBuilder < ApplicationCommandOptionBuilder < Reference < Object
Description¶
Helper class to build string options for a slash command.
Methods¶
return type | signature |
---|---|
ApplicationCommandStringOption | add_choice ( String name, String value, Dictionary localizations ) |
Method Descriptions¶
-
ApplicationCommandStringOption ApplicationCommandStringOption ( String option_name )
Constructs a new string option builder.
-
ApplicationCommandStringOption add_choice ( String name, String value, Dictionary localizations )
Adds a string choice to the option.