#command-deployment guide misunderstanding

6 messages · Page 1 of 1 (latest)

hollow dove
#

i copypasted the code from guide to see if it works. Currently i ran into a problem with understanding what "clientId" and "guildId" are and where to get them to create a /ping command

languid trench
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

full agate
#

Read the guide too, it explains a lot. Not just copy&paste

hollow dove
full agate
#

Well, one is the id of your client… your bot, your application, …
The other is only needed if you want to deploy to one guild only, then it’s the id of that guild

hollow dove
#

oh okay then, gimme a minute, i think i already pasted these ones correctly before but it didnt work