#Discord bot not starting even tho code hasn't been changed for a long time

27 messages · Page 1 of 1 (latest)

dark turtle
#

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

fierce wadiBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • 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!
mighty crystal
#

and any additional info other than 'it doesnt work'?

dark turtle
#

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

mighty crystal
#

and that error is

dark turtle
#

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

mighty crystal
#

its likely a discord issue / an issue on your side, you're not the only one

dark turtle
#

ok

#

Is there anything I can do about it or do I just have to wait

worldly nacelle
#

as luna said in djs help, try to update your OS

#

where are you hosting your bot on btw?

dark turtle
#

Replit

mighty crystal
#

this is a replit issue

#

contact them for support

worldly nacelle
#

you should definitely use another hosting provider

dark turtle
#

My pc can’t run vscode what should I use?

dawn pewter
#

for what? for code editing?

dark turtle
#

Yeah

dawn pewter
#

I guess you could try sublime text?

winter tusk
dark turtle
#

Aight bet

dawn pewter
#

remember to close the post if your issue is resolved.

dark turtle
#

Aii