fr3fou / discord-mutual-friends

visualising discord mutual friends in 3d space
146 stars 5 forks source link

Rate Limiting #4

Closed sandyx86 closed 6 months ago

sandyx86 commented 6 months ago

I put the whole block in a for loop so that if a request gets rate limited, it can just sleep and then try the same request again as to not skip a relationship, and if successful, it breaks back to the main loop for the next relationship. It adds 100ms each time it gets rate limited.

fr3fou commented 6 months ago

thanks!