Coder Social home page Coder Social logo

Better rate limiting about discord-rs HOT 6 OPEN

spacemaniac avatar spacemaniac commented on May 28, 2024
Better rate limiting

from discord-rs.

Comments (6)

 avatar commented on May 28, 2024

"⎛⎝xX_jake_Xx⎠⎞ - Today at 11:03 AM
[...] we are now sending rate limit info in the header responses BEFORE you get rate limited. This should help you build clients that respect rate limits MUCH easier.
[...]
Read the docs here: https://github.com/hammerandchisel/discord-api-docs/blob/fcc3397d07061aa3704d4f4eb72a6b385d601763/docs/topics/RATE_LIMITS.md"

Do you have a WIP of this or any implementation ideas? This should probably be done soon-ish before the lib is de-listed.

from discord-rs.

SpaceManiac avatar SpaceManiac commented on May 28, 2024

I have a plan, the new method makes automatically handling the rate limits a lot easier.

from discord-rs.

 avatar commented on May 28, 2024
b1nzy - Today at 11:56 AM
I'm giving yall lots of time(edited)
[...] - Today at 11:57 AM
"Lots of time" being how long?
b1nzy - Today at 11:57 AM
Sept 20th
More than a month
[...] - Today at 11:57 AM
so sept 20 is the deadline
b1nzy - Today at 11:57 AM
Yes

(until libs are delisted)

from discord-rs.

SpaceManiac avatar SpaceManiac commented on May 28, 2024

Yep, I saw. I started on it yesterday already.

from discord-rs.

SpaceManiac avatar SpaceManiac commented on May 28, 2024

First pass is in b71d1e3, but it probably needs a little refinement before this can be closed.

from discord-rs.

SpaceManiac avatar SpaceManiac commented on May 28, 2024

The docs have been updated: discord/discord-api-docs#137. discord-rs needs to be updated for these changes.

from discord-rs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.