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 toolkit14mo 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
monbrey14mo ago
No, just deploy the commands again on the new application / token The code isn't bound to any one token
Roreos
RoreosOP14mo ago
No description
Roreos
RoreosOP14mo ago
I get this every time
monbrey
monbrey14mo ago
Then there's an error in your code, but that doesn't mean you should be deleting it
Roreos
RoreosOP14mo ago
But when I move the slash commands out of the command folder, they work but do not deploy
monbrey
monbrey14mo ago
I'm not following
Roreos
RoreosOP14mo ago
Sorry Excuse that message
monbrey
monbrey14mo ago
Your code appears to be attempting to deploy commands from subfolders, but maybe its not also loading them from subfolders
Roreos
RoreosOP14mo ago
I'm positive I used the same code as used on the guide I fixed it But now I get this
Roreos
RoreosOP14mo ago
No description
d.js docs
d.js docs14mo 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
RoreosOP14mo ago
Yup
Want results from more Discord servers?
Add your server