Running slash command returns "ExpectedConstraintError > s.number.lessThanOrEqual'
new SlashCommandBuilder()
.setName('search')
.setDescription('Search Test')
.setDefaultPermission(true)
.addStringOption(option =>
option
.setName('Term')
.setDescription('TermTo Search For')
.setRequired(true)
)
)
2 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!I thhink it has to do with my EmbedBuilder
100% did run it just didnt paste the WHOLE command in here only what was relevant, that said issue is there is a 25 field item limit. Thanks 🙂
oh haha yeah I edited it from its real name so yes that is a difference you are not wrong