Ask coding questions

← Back to all posts
Discord.js bot will not login to client user; why?
YodaCode (96)

EDIT: This is a replit IP ratelimit. nothing you can do

So I have a Discord bot, and it's been working just fine. I've had it running for 28 days now, and it's done just fine. But now, for random periods of time, it stops responding to the client and when I restart it the client never logs in and never fires the ready event. I have no idea why this is happening, and I'm worried that this might be a rate limit. But at the same time, I have another instance going that is exclusively for music commands, but that is working just fine, so it can't be an issue with a rate limit or bad token.