1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-10-03 08:08:47 +00:00
arikawa/api/rate
diamondburned 2af51c9a5a API: V8 breaking rate limit changes
This commit updates Retry-After to be seconds-accurate instead of the
previous millisecond-accurate. Another issue (#153) is opened to get a
more accurate number, which is in the JSON body instead of the header.

This commit also removed the rate limit precision header. It also uses a
more accurate calculation algorithm to derive the reset time.
2020-10-28 14:31:15 -07:00
..
emoji.go API: Added reactions into rate limit parsers 2020-02-07 08:31:10 -08:00
emoji_test.go API: Added AllowedMentions and more tests 2020-04-19 16:35:37 -07:00
majors.go API: Improved the rate limit parser 2020-02-07 08:37:01 -08:00
majors_test.go API: Added AllowedMentions and more tests 2020-04-19 16:35:37 -07:00
rate.go API: V8 breaking rate limit changes 2020-10-28 14:31:15 -07:00
rate_test.go make all error messages lowercase 2020-05-16 23:14:49 +02:00