RateLimiterOptions

Specifications

  • Type: Object - {}
  • Valid fields: 3

Fields

Name
Type
Description
Optional
enabled
boolean
Whether to enable the ratelimiter
no, if it is defined, make it true
amount
number
The amount of commands to allow in a timeframe, default is 1
yes
interval
number
The aforementioned timeframe in milliseconds, default is 5000
yes
Copy link