class StringOption
extends BaseCommandOption
import { StringOption } from "https://deno.land/x/denocordts@1.2.0/src/structures/commands/slashCommands/options/string.ts";
Properties
choices: APIApplicationCommandOptionChoice<string>[]
Methods
addChoice(unnamed 0: { name: string; value: string; })
setAutoComplete(autocomplete: boolean)
setDescription(description: string)
setName(name: string)
setRequired(required: boolean)
toJSON()