Skip to content

Rate-limit in seconds in documentation (opposed as real return on API) #4722

@rodrigondec

Description

@rodrigondec

Description

On the documentation about rate-limits#exceeding-a-rate-limit

https://discord.com/developers/docs/topics/rate-limits#exceeding-a-rate-limit

the retry_after data on the 429 response is said to be SECONDS.

But it is been returned as MILISECONDS instead of SECONDS.

Steps to Reproduce

I'm using a python script to make multiple requests to a discord webhook.

Expected Behavior

Documentation to point the retry_after data on the 429 response to be MILISECONDS.

Current Behavior

the retry_after data on the 429 response on the documentation is said to be SECONDS.

Screenshots/Videos

Documentation

image
image

Requests Throtle

image

Client and System Information

PoP OS 22.04
Python 3.9 with requests package

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions