Discord.net: RateLimitedException is thrown, ignoring RetryMode.RetryRatelimit

Created on 29 Nov 2017  路  6Comments  路  Source: discord-net/Discord.Net

Without reading into it too much, it would seem that the code throws the RateLimitedException at several places, while only one checks for RetryMode.RetryRatelimit.

to investigate

Most helpful comment

Can you gather information on which methods are ignoring the RetryMode?

That linked code is called by every REST request made, or at least it should be, so it only needs to be in the one place.

All 6 comments

Can you gather information on which methods are ignoring the RetryMode?

That linked code is called by every REST request made, or at least it should be, so it only needs to be in the one place.

What I'm trying to say is that this is the only place where it's if'd

And these are all places where it gets thrown regardless of the above "if":

...which doesn't seem correct at first glance.

I am getting the exception when spamming channel.SendMessageAsync when it is set to RetryRatelimit.

meme

Yep, I had to go like "if ratelimit don't log this shit" :cry:

Did the PR fix it, or not? This issue is still open.

resolved via 98ba62c9c2a0eb41bb04e69597ad3f391290397d, thanks github

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MinisBett picture MinisBett  路  3Comments

Kwoth picture Kwoth  路  8Comments

JKamsker picture JKamsker  路  4Comments

Poyser1911 picture Poyser1911  路  4Comments

TheBlue-1 picture TheBlue-1  路  3Comments