My bot doesn't load in a loop and fails

My bot doesn’t load in a loop and fails

Do you have a console error ?

yes there is a console error

Can you show us the errors in the tools?

Maybe your bot is on a banned host?
Type curl -I https://discordapp.com/api/v7/gateway and you should get a HTTP/1.1 200 OK. if not follow my solution for the 429 requests issue at A solution for 429 Requests (only for discord) .