Discord bot won't turn on

My code will start working and say: “Your app is listening on port 3000”, but sometimes the client won’t even load, any ideas on how to fix it?

Hmm can I have a look at your code? Are you sure you even have it logging? Did you not put your token in? And maybe it’s because the app fell asleep

1 Like

No, I have a pinging service and I’m creating bots for over a year now… Its the website 100%

@itay949494994 pinging services are blocked by glitch. That may be why.

1 Like

I’m in the project and it will still not work

can i see your code/invite @itay949494994

No, I cannot show my code

1 Like

@itay949494994 can u run this in console
curl -I https://discordapp.com/api/v7/gateway and tell me what it says

What will it do?

I see its some sort of a url checking thing? here is the result:

HTTP/1.1 429 Too Many Requests
Date: Thu, 23 Jul 2020 16:14:01 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 16
Connection: close
Retry-After: 29601
X-Frame-Options: SAMEORIGIN
Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: __cfduid=da80a61276a68fed36ed6f8b2a6b793ab1595520841; expires=Sat, 22-Aug-20 16:14:01 GMT; path=/; domain=.discordapp.com; HttpOnly; SameSite=Lax
cf-request-id: 041e0d0fc10000747a8ab17200000001
Expect-CT: max-age=604800, report-uri=“https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct
Server: cloudflare
CF-RAY: 5b76b12c6bb1747a-IAD

1 Like

@itay949494994 your project is banned.

But it happens for like an hour and then comes back

1 Like

try putting ur project name in: Discord Ban mega-thread the second! (Discord bot / Something took too long to do)

1 Like

Alright, thank you! :smiley:

1 Like

your welcome, now check within 24 hr’s by doing

curl -I https://discordapp.com/api/v7/gateway

and if it says:
HTTP/1.1 429 Too Many Requests

its not fixed