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
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!
treble/luna
treble/luna16mo ago
and any additional info other than 'it doesnt work'?
KinjuX-PR
KinjuX-PROP16mo ago
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
treble/luna
treble/luna16mo ago
and that error is
KinjuX-PR
KinjuX-PROP16mo ago
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
treble/luna
treble/luna16mo ago
its likely a discord issue / an issue on your side, you're not the only one
KinjuX-PR
KinjuX-PROP16mo ago
ok Is there anything I can do about it or do I just have to wait
wizard
wizard16mo ago
as luna said in djs help, try to update your OS where are you hosting your bot on btw?
KinjuX-PR
KinjuX-PROP16mo ago
Replit
treble/luna
treble/luna16mo ago
this is a replit issue contact them for support
wizard
wizard16mo ago
you should definitely use another hosting provider
KinjuX-PR
KinjuX-PROP16mo ago
My pc can’t run vscode what should I use?
ShompiFlen
ShompiFlen16mo ago
for what? for code editing?
KinjuX-PR
KinjuX-PROP16mo ago
Yeah
ShompiFlen
ShompiFlen16mo ago
I guess you could try sublime text?
entropy
entropy16mo ago
You could also try fleet (still in beta tho)
KinjuX-PR
KinjuX-PROP16mo ago
Aight bet
ShompiFlen
ShompiFlen16mo ago
remember to close the post if your issue is resolved.
KinjuX-PR
KinjuX-PROP16mo ago
Aii It is
Want results from more Discord servers?
Add your server