#Discord bot not starting even tho code hasn't been changed for a long time
27 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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
as luna said in djs help, try to update your OS
where are you hosting your bot on btw?
Replit
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