error while setting slash command

DiscordAPIError[50035]: Invalid Form Body 1[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required 3[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required 5[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
8 Replies
d.js toolkit
d.js toolkit7mo ago
- 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!
Bruwyn
Bruwyn7mo ago
while seeting up slash command i got this errorr
DiscordAPIError[50035]: Invalid Form Body
1[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
3[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
5[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
DiscordAPIError[50035]: Invalid Form Body
1[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
3[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
5[LIST_ITEM_VALUE_REQUIRED]: List item values of ModelType are required
treble/luna
treble/luna7mo ago
show your code
Bruwyn
Bruwyn7mo ago
hlo i cant send code ??
Bruwyn
Bruwyn7mo ago
No description
treble/luna
treble/luna7mo ago
in here? Just use a pastebin
treble/luna
treble/luna7mo ago
why are you pushing both your command.data and your command into the array that indeed will error