- getStr(o, options): SlashCommandStringOption
Parameters
o: SlashCommandStringOption
options: {
autocomplete?: boolean;
choices?: APIApplicationCommandOptionChoice<string>[];
description: string;
max?: number;
min?: number;
name: string;
required?: boolean;
}
Optional autocomplete?: boolean
Optional choices?: APIApplicationCommandOptionChoice<string>[]
description: string
Optional max?: number
Optional min?: number
name: string
Optional required?: boolean
Returns SlashCommandStringOption