Description
Retry-After header in Webhook Execute is in milliseconds instead of seconds.
This is inconsistent with retry_after property in JSON message that is received with a 429
and is also against what is normally used.
This should be documented to avoid confusion.
Steps to Reproduce
Spam a webhook.
You don't even have to spam, it just works, see #1454
Expected Behavior
Retry-After is in seconds instead of milliseconds OR
- A section that mentions about
Retry-After
Current Behavior
Retry-After is in milliseconds, I multiplied it by 1000 and I thought
Discord gave me days of ratelimits.
Description
Retry-Afterheader inWebhook Executeis in milliseconds instead of seconds.This is inconsistent with
retry_afterproperty in JSON message that is received with a 429and is also against what is normally used.
This should be documented to avoid confusion.
Steps to Reproduce
Spam a webhook.
You don't even have to spam, it just works, see #1454
Expected Behavior
Retry-Afteris in seconds instead of milliseconds ORRetry-AfterCurrent Behavior
Retry-Afteris in milliseconds, I multiplied it by 1000 and I thoughtDiscord gave me days of ratelimits.