Discord bot not starting even tho code hasn't been changed for a long time
Is this a api bug or is it just that i screwed up my code? It worked a bit ago but then i added a file and then it wouldn't work so i deleted it. Now it just wont work no matter what
19 Replies
- 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!and any additional info other than 'it doesnt work'?
The bot has been turned on for a whole while
i added a new file to make a command
after i tried starting it i got and error
thought it was just bc of the new file so i deleted it
and that error is
lemme get it rq
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^
Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1538:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket.emit (node:domain:489:12)
at TLSSocket._finishInit (node:_tls_wrap:952:8) {
code: 'CERT_HAS_EXPIRED'
}
Node.js v18.12.1
its likely a discord issue / an issue on your side, you're not the only one
ok
Is there anything I can do about it or do I just have to wait
as luna said in djs help, try to update your OS
where are you hosting your bot on btw?
Replit
this is a replit issue
contact them for support
you should definitely use another hosting provider
My pc can’t run vscode what should I use?
for what? for code editing?
Yeah
I guess you could try sublime text?
You could also try fleet (still in beta tho)
Aight bet
remember to close the post if your issue is resolved.
Aii
It is