mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Add proper webhook rate limit support
This commit is contained in:
parent
12d29eba44
commit
fa70df8f98
4 changed files with 125 additions and 6 deletions
|
|
@ -23,6 +23,7 @@ namespace PluralKit.Bot
|
|||
if (e is HttpException he && ((int) he.HttpCode) >= 500) return false;
|
||||
|
||||
// Webhook server errors are also *not our problem*
|
||||
// (this includes rate limit errors, WebhookRateLimited is a subclass)
|
||||
if (e is WebhookExecutionErrorOnDiscordsEnd) return false;
|
||||
|
||||
// Socket errors are *not our problem*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue