Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(0.12.0) Significant improvements to Ratelimits
- An overhaul of the Ratelimit logic, carefully implementing a sequential queue for buckets, separating the logic of a queue and limits of the queue. - Adds the previously unfollowed global limit of 50 requests per second by default. This is still bypassed using options.bypassBuckets - Adds consistency to HTTPMethod casing in route keys and in events emitted - Add GLOBAL_REQUESTS_PER_SECOND to Constants which can be edited before constructing a SnowTransfer instance - Export new types/classes - create message data `poll` is now part of the check for if the message can even be sent as a poll can be sent by itself Co-Authored-By: Cadence Ember <[email protected]> Co-Authored-By: viztea <[email protected]>
- Loading branch information