EionRobb / purple-discord

A libpurple/Pidgin plugin for Discord
GNU General Public License v3.0
381 stars 43 forks source link

discord imposes a rate limit for API calls #448

Open beadon opened 1 year ago

beadon commented 1 year ago

I am getting an error in the discord client (not pidgin) that my client has reached a rate limit for accessing the discord APIs.

This only occurred when I enabled the discord plugin for Pidgin, and loaded it for the first time.

Is rate limiting honored by purple-discord ? If not, is this a new feature request ?

To further troubleshoot this problem, where should one go to see the error logs for API connections ?

beadon commented 1 year ago

As mentioned in another thread, I believe this is the cause of missing history for messages/ channels. I am seeing history for some things, but not others. Is there a feature in development to perform this rate limiting ? (perhaps discord servers report the acceptable rate limit?)

chainria commented 1 year ago

It "just happens" from time to time. Usually when my discord client starts acting up I just disconnect Pidgin for a while (usually at most an hour helps settle things) and then all is well again.

I know, not really a fix or something, but I don't know of any limits either so it would be hard to implement something like this. Remeber, the API is not public really.

Metalhead33 commented 1 month ago

I decided to take matters into my own hands.