Skip to main content
Version: 1.x

RateLimitBypassOptions

RateLimitBypassOptions​

Permanent allowlist rules for rate limiting.

Signature
interface RateLimitBypassOptions {
userIds?: string[];
roleIds?: string[];
guildIds?: string[];
check?: (source: Interaction | Message) => boolean | Promise<boolean>;
}

userIds​

property
string[]

roleIds​

property
string[]

guildIds​

property
string[]

check​

property
(source: Interaction | Message) => boolean | Promise<boolean>