1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-10 17:05:17 +00:00

Apparently I don't need reaction rate limits

This commit is contained in:
diamondburned (Forefront) 2020-01-19 09:52:43 -08:00
parent e78cf501a5
commit 532a8ba8b4

View file

@ -51,12 +51,9 @@ type bucket struct {
func NewLimiter() *Limiter {
return &Limiter{
global: new(int64),
buckets: sync.Map{},
CustomLimits: []*CustomRateLimit{{
Contains: "/reactions/",
Reset: 200 * time.Millisecond,
}},
global: new(int64),
buckets: sync.Map{},
CustomLimits: []*CustomRateLimit{},
}
}