Cannot login on discord.js

Hello, I make discord bot, and I wanna upload it to glitch, but here is problem everything work without one thing, my bot cannot login, everywhere else work, thanks for help.

Can you provide any errors you are getting in the logs?

1 Like

nothing, I try do console.log(“TEST”) at end and it show TEST.

Have you added client.login('token here')

1 Like

Yes, at local it work, but on glitch no.

Ca you please tell me the name if the project that is having this problem!

1 Like

Project name is haobot

1 Like

Ok! I have requested to join the project, if you are ok with letting me in, then click on my icon on the top left, and click “Invite to edit”

1 Like

sure, I accept your request.

1 Like

Ok, So I ran the command curl -I https://discordapp.com/api/v7/gateway to check of your project was on a banned host, and it returned with 429 Too Many Requests
image

This means that you will have to wait for @cori to remove the project from the banned host which it is on!
I have no idea how long you will have to wait but hopefully it wont be too long!

3 Likes

Ok, thank you for help.

1 Like