mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-03 10:18:23 +00:00
Apparently I don't need reaction rate limits
This commit is contained in:
parent
e78cf501a5
commit
532a8ba8b4
|
@ -51,12 +51,9 @@ type bucket struct {
|
||||||
|
|
||||||
func NewLimiter() *Limiter {
|
func NewLimiter() *Limiter {
|
||||||
return &Limiter{
|
return &Limiter{
|
||||||
global: new(int64),
|
global: new(int64),
|
||||||
buckets: sync.Map{},
|
buckets: sync.Map{},
|
||||||
CustomLimits: []*CustomRateLimit{{
|
CustomLimits: []*CustomRateLimit{},
|
||||||
Contains: "/reactions/",
|
|
||||||
Reset: 200 * time.Millisecond,
|
|
||||||
}},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue