Bot deleted off dashboard, what happens to code?

Hi, I had to delete my bot off of the discord dev dashboard, and created a new one and assigned the token and all the stuff I had to do to it. My command is no longer there when I try to execute it. Do I have to delete all the files and restart?
13 Replies
d.js toolkit
d.js toolkit9mo 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! - Marked as resolved by OP
monbrey
monbrey9mo ago
No, just deploy the commands again on the new application / token The code isn't bound to any one token
Roreos
Roreos9mo ago
No description
Roreos
Roreos9mo ago
I get this every time
monbrey
monbrey9mo ago
Then there's an error in your code, but that doesn't mean you should be deleting it
Roreos
Roreos9mo ago
But when I move the slash commands out of the command folder, they work but do not deploy
monbrey
monbrey9mo ago
I'm not following
Roreos
Roreos9mo ago
Sorry Excuse that message
monbrey
monbrey9mo ago
Your code appears to be attempting to deploy commands from subfolders, but maybe its not also loading them from subfolders
Roreos
Roreos9mo ago
I'm positive I used the same code as used on the guide I fixed it But now I get this
Roreos
Roreos9mo ago
No description
d.js docs
d.js docs9mo ago
DiscordAPIError[20012]: You are not authorized to perform this action on this application: - The supplied client id and token do not belong to the same application. - Usually encountered when trying to deploy application commands.
Roreos
Roreos9mo ago
Yup