Slash Command Builders

I am following the guide for slash command builders and trying to figure out what to do with the part that says get the raw data that can be sent to discord on this page: https://github.com/discordjs/discord.js/blob/main/packages/builders/docs/examples/Slash%20Command%20Builders.md
GitHub
discord.js/packages/builders/docs/examples/Slash Command Builders.m...
A powerful JavaScript library for interacting with the Discord API - discordjs/discord.js
4 Replies
d.js toolkit
d.js toolkit16mo 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!
treble/luna
treble/luna16mo ago
you have to pass that in an array in your rest body
d.js docs
d.js docs16mo ago
guide Creating Your Bot: Command registration - Guild commands Create a deploy-commands.js file in your project directory. This file will be used to register and update the slash commands for your bot application. read more
WindMagi
WindMagiOP16mo ago
thanks
Want results from more Discord servers?
Add your server