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