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)

)
Was this page helpful?