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