Skip to content
← Back to Community
Discord Ratelimit for Replit.com?
Profile icon
JTpotato

Discord has ratelimited the IP of a Discord bot I'm hosting here. I've stopped the Discord bot for around 10 hours, but when I start the bot again Discord responds with a message along the lines of "The owner of this website (discordapp.com) has ratelimited your IP"

Assuming every repl has the same IP, there's probably someone spamming Discord with API requests and Discord just ratelimited the IP.

Answered by Coder100 [earned 5 cycles]
View Answer
Voters
Profile icon
noxtubegaming
Profile icon
M2Bobber
Profile icon
JTpotato
Comments
hotnewtop
Profile icon
Coder100

No, each REPL has a different IP.

Please, blame your own code before you blame the language.

Profile icon
JTpotato

@Coder100
Hmmm... Then I don't see anything that would be considered API abuse... Kinda confusing. I'm only updating a stat counter every few minutes or so which is the closest thing I can find in my code to API abuse. As far as I'm aware, my bot hasn't been spammed either, so it shouldn't have been ratelimited for too many messages either.

But yes you're probably right, I forked my repl and it worked on the fork.

Profile icon
Coder100

@JTpotato
yeah, most likely it was running a double instance

Profile icon
ErrorNoInternet

Nope not every REPL has the same IP