mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +00:00
Allow configuring the maximum ratelimit timeout before erroring
This is useful for cases where a rate limit is known to be extraordinarily high, but you still want to handle the error. This is common with routes such as emoji creation.
This commit is contained in:
@ -4692,6 +4692,9 @@ The following exceptions are thrown by the library.
|
||||
.. autoexception:: HTTPException
|
||||
:members:
|
||||
|
||||
.. autoexception:: RateLimited
|
||||
:members:
|
||||
|
||||
.. autoexception:: Forbidden
|
||||
|
||||
.. autoexception:: NotFound
|
||||
@ -4730,3 +4733,4 @@ Exception Hierarchy
|
||||
- :exc:`Forbidden`
|
||||
- :exc:`NotFound`
|
||||
- :exc:`DiscordServerError`
|
||||
- :exc:`RateLimited`
|
||||
|
Reference in New Issue
Block a user