Skip to main content
Version: 1.x

RateLimitResponseHandler

RateLimitResponseHandler

Override for responding when a command is rate-limited.

Signature
type RateLimitResponseHandler = (
ctx: Context,
info: RateLimitStoreValue,
) => Promise<void> | void