Packages@robojs/discordjs
addOptionToCommandBuilder()
Function: addOptionToCommandBuilder()
function addOptionToCommandBuilder(
commandBuilder,
type,
option): voidAdd an option to a command or subcommand builder.
Parameters
| Parameter | Type |
|---|---|
commandBuilder | SlashCommandBuilder | SlashCommandSubcommandBuilder |
type | undefined | string |
option | CommandOption |
Returns
void
