- djs v14
- node v16
data: new SlashCommandBuilder()
.setName("loop")
.setDescription("Set loop mode")
.addIntegerOption((option) => option
.setName("mode")
.setDescription("Loot type (choose no 1-4)")
.addChoices([
["Off", "1"],
["Track", "2"],
["Queue", "3"],
["AutoPlay", "4"],
])),
I was following EXample here : https://github.com/discordjs/builders/blob/main/docs/examples/Slash Command Builders.md
I don't think I followed wrong 🤔
help plz...........