Discord bot not starting (any errors)

I don’t get any error showing in the console. when i run curl -I https://discordapp.com/api/v7/gateway in terminal it get

HTTP/1.1 404 Not Found
Date: Mon, 23 Nov 2020 20:49:28 GMT
Content-Type: application/json
Content-Length: 40
Connection: keep-alive
Set-Cookie: __cfduid=d08a2898e2b2476bb3556b356be2520fb1606164568; expires=Wed, 23-Dec-20 20:49:28 GMT; path=/; domain=.discordapp .com; HttpOnly; SameSite=Lax
strict-transport-security: max-age=31536000; includeSubDomains
x-envoy-upstream-service-time: 4
Via: 1.1 google
CF-Cache-Status: DYNAMIC
cf-request-id: 06987770a30000cb5a68861000000001
Expect-CT: max-age=604800, report-uri=“https: //report-uri. cloudflare .com/cdn-cgi/beacon/expect-ct”
Report-To: {“endpoints”:[{“url”:“http s://a.nel.cloudflare.com/report?s=2o%2FjbeA07JrsURXgFNkgSei3eRhUGXCywCC%2BP3KFtjPZadBT7EV0sTRWVHeUWSwq5vNfDbqeSWMCgPJuFB7p0DbPYFXOBCIipiSYdkSh4w%3D%3D”}],“group”:“cf-nel”,“max_age”:604800}
NEL: {“report_to”:“cf-nel”,“max_age”:604800}
Server: cloudflare
CF-RAY: 5f6dc1c769cacb5a-IST

What Discord.js version is your bot on?

1 Like

i think its 0.0.1

that would be the version of your bot itself.
look in the dependencies section in package.js and look for the number next to “discord.js”: