Bot treating register-commands.js file like its not there.
This is my index.js
And this is my register-commands.js
It doesn't recognise that the file exists, and im not getting my /ping command in discord
15 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes i used nodemon
it runs src/index.js
in the tutorial he didnt mention anything else and it worked so
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
wouldnt it be node src/register-commands?
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
isnt there a way to make it refresh with nodemon
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
everytime
What tutorial?
Our guide sure as hell mentions it
Under Ctrl
YouTube
Register and Run Slash Commands (Discord.js v14)
Register and Run Slash Commands (Discord.js v14)
🌐 Important links:
Discord.js series playlist: https://www.youtube.com/playlist?list=PLpmb-7WxPhe0ZVpH9pxT5MtC4heqej8Es
Discord.js official website: https://discord.js.org
Discord Commands Structure: https://discord.com/developers/docs/interactions/application-commands#slash-commands (Options & ...
Yeah no idea what that is, we dont recommend third party guides
Can you send me the link to your guide?
Their code is a copy of ours anyway
fair enough
well thanks ill just follow this from now on then