Souji
be2f78851f
docs/typings: RateLimitInfo#limit instead of requestLimit ( #3132 )
...
* fix doc for ratelimit data, fixes #3131
* adapt typings
* typings: unindent #region comments
2019-03-07 16:34:23 +01:00
SpaceEEC
e0f522a745
backport(ClientOptions): add retryLimit ( #2869 )
2018-10-03 17:20:53 -05:00
Isabella
4ee3cf0b55
fix: WebhookClient should handle ratelimits properly
2018-08-21 11:12:02 -05:00
SpaceEEC
8adfc97409
docs(Client): actually fix rateLimit's event params
2018-08-11 09:38:58 +02:00
Lewdcario
0e370d7a4c
docs: fix client#rateLimit parameters
2018-08-09 14:58:17 -05:00
Lewdcario
6f02be2b2e
docs: rateLimit event
2018-05-11 23:21:39 -05:00
Lewdcario
0d90798c6c
backport: rateLimit event
2018-05-11 20:55:31 -05:00
Kyra
8700e965c5
feat(DiscordAPIError): backport method property ( #2536 )
2018-05-03 22:47:50 +02:00
Gus Caplan
69b7d5d58e
Fix #1903 ( #1904 )
2017-09-07 16:25:55 +01:00
SpaceEEC
95e22c2f12
feat/fix: add DiscordAPIError#path and fixed Burst request handler handling api errors ( #1867 )
2017-09-01 16:05:22 +02:00
SpaceEEC
f7664b01a2
Backports ( #1813 )
...
* Backported OAuth2Application 201ecd25a2
* Backported retry on 500 57b6980313
* Backported b8034525e3 and fa5c4efa2b
2017-08-21 22:25:21 +02:00
Crawl
ac92d2cecc
Improve docs a bit
2017-04-30 04:30:44 +02:00
Amish Shah
c40252381b
Deprecate all the things
2017-04-29 21:09:53 +01:00
Amish Shah
b0a3528411
sorry gus i borked
2017-04-29 20:00:05 +01:00
Amish Shah
195fcfa15c
Rewrite WebSocket internals ( #1410 )
...
* Start rewriting Manager and Connection
* more stuff
* stuff
* Fix ready bug
* some stuff i forgot
* fix some stuff
* add stupid heartbeat ack like seriously who cares
* woo!
* fix a bug
* rate limit the dumb websocket
* stuff
* hdocs
* Docs
* Remove ClientManager#setupKeepAlive as it is now redundant
* Change Client._pingTimestamp to a getter that fetches the timestamp from the WebSocketConnection
* are you happy now eslint smh
* make gus happy
* Add CloseEvent external doc
* Make sure to emit 'reconnecting' when actually reconnecting
* ffs
* Fix RESUME logic
* Add heartbeat ack debug messages, including latency data
* Dumb stuff for Gus
* thx eslint
* more dumb stuff
* more dumb crap smh gus i h8 u
* moar messages
* fix for using wrong status, causing certain events not to be fired (#1422 )
2017-04-28 16:13:06 +01:00
Amish Shah
25e0048bbf
remove useless waiting reference
2017-04-11 17:59:27 +01:00
Amish Shah
6495df50f9
Fix sequential rate limiting
2017-04-11 17:54:03 +01:00
Gus Caplan
ec1ed15c88
Fix request handling ( #1180 )
...
* clean up ratelimiters, and disable burst until some big questions are handled
* burst mode is a work
* fix burst again
2017-02-11 12:04:24 +00:00
Schuyler Cebulskie
74c3bae506
Teensy weensy cleanup
2016-12-24 19:54:37 -05:00
Schuyler Cebulskie
ab30715028
Fix Hydar's lint errors
2016-12-24 19:49:24 -05:00
Amish Shah
544e456302
Add ClientOptions.restTimeOffset for better performance for bots with a good network connection
2016-12-24 12:13:42 +00:00
Schuyler Cebulskie
0b908f5bce
Cleanup Part 2: Electric Boogaloo (Reloaded) ( #594 )
...
* Cleanup Part 2: Electric Boogaloo (Reloaded)
* Moar cleanup
* Tweak NOT_A_PERMISSION error
2016-09-04 10:08:09 +01:00
Schuyler Cebulskie
27652b94af
Make JSDocs follow general conventions ( #582 )
...
* Make JSDocs follow usual conventions
* Fix StringResolvable name
* Make function lowercase
2016-09-03 09:57:25 +01:00
Amish Shah
d249aa10cc
Add client.destroy();
2016-08-30 13:05:57 +01:00
Amish Shah
df456589ab
Fix requests getting locked up in queues
2016-08-22 19:15:08 +01:00
Amish Shah
97e16e6eed
Make SequentialRequestHandler private
2016-08-19 20:11:46 +01:00
Amish Shah
fb55b6dc60
Rebuild docs
2016-08-19 20:10:32 +01:00
Amish Shah
75ff9fb096
Comply to the new Rate Limit Headers hammerandchisel/discord-api-docs#108
2016-08-19 19:03:10 +01:00
Amish Shah
c2e3d2b8ca
Fix time differences (add 1 second)
2016-08-19 18:47:59 +01:00
Amish Shah
f012655e53
Add 429 handling back into Sequential Handler
2016-08-19 18:47:41 +01:00
Amish Shah
fd64fb0a82
Use Date headers to offset time differences to fix rate limiting
2016-08-19 18:28:47 +01:00
Amish Shah
dcba580d89
Implement Sequential Rate Limiting
2016-08-19 18:01:28 +01:00