Bot won't connect to client or deploy commands with no errors

My bot randomly stopped connecting to the client and it also won't deploy commands. It just says the started refreshing app commands and instead of fully deploying them it just goes to start index.js. The only thing in index.js that connects is the database... What's the problem? I also have no errors
5 Replies
d.js toolkit
d.js toolkit16mo 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!
Therogamer
TherogamerOP16mo ago
Therogamer
TherogamerOP16mo ago
My versions are DJS: 14.12.1 and Node: 18.17.0
d.js docs
d.js docs16mo ago
Please add the following code to your code base outside of any other event listeners and provide the full log output relevant to your issue.
client
.on("debug", console.log)
.on("warn", console.log)
client
.on("debug", console.log)
.on("warn", console.log)
- Note: if you initialize your Client as bot or other identifiers you need to use these instead of client - If the output is too long to post consider using a bin instead: gist | paste.gg | sourceb.in | hastebin
Therogamer
TherogamerOP16mo ago
It's just a free host I added them and the only thing it outputs is the provided token and that it's preparing to connect to the gateway Yeah got it, just checked the host's discord server and people are reporting that too Thanks tho
Want results from more Discord servers?
Add your server