Trying to relocate command

I'd like to move this command (starting at srvbot.on) out of the index file and into it's own command but when I move it out it fails to respond. Can't seem to figure out what it's missing. Im trying to put it in the commands directory: SERVERBOT >data >node_modules >src >classes >commands >data >events >handlers >utils >changelogs.js >config.json >deploy-commands.js >register-commands.js .env index.html package-lock.json package.json
4 Replies
d.js toolkit
d.js toolkit13mo 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!
d.js docs
d.js docs13mo ago
To share long code snippets, use a service like gist, sourcebin, starbin, or similar instead of posting them as large code blocks or files.
ÞeSheepMan
ÞeSheepManOP13mo ago
I keep receiving the following error: The command at C:\Users\Valued Customer\OneDrive\Documents\Discord\ServerBot\src\commands\status.js is missing a required "data" or "execute" property.
Want results from more Discord servers?
Add your server