Create a new Bucket.
Number of functions that may be executed during the timeframe set in limitReset.
Timeframe in milliseconds until the ratelimit resets.
If the bucket info does not provide default values, but provides remaining, this is the reset to use after the initial reset.
Check if there are any functions in the queue that haven't been executed yet.
Reset the remaining tokens to the base limit.
Clear the current queue of events to be sent.
Queue a function to be executed.
Function to be executed.
Result of the function if any.
Generated using TypeDoc
RatelimitBucket, used for ratelimiting the execution of functions.