SlashCommand question #1056
-
I'm trying to do something like this. I want the value out of my .addChoice. The code: const { SlashCommandBuilder } = require('@discordjs/builders'); module.exports = {
}; The error: ZodError: [ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
slashie names/option names cannot have capital letters after changing the option name you'd use |
Beta Was this translation helpful? Give feedback.
slashie names/option names cannot have capital letters
check this for more info
after changing the option name you'd use
interaction.options.getString(<optionName>)