Skip to main content
Version: 1.x

ResolveScopeKeyParams

ResolveScopeKeyParams

Inputs for resolving a scope-based key from a command/source.

Signature
interface ResolveScopeKeyParams {
ctx: Context;
source: Interaction | Message;
command: LoadedCommand;
scope: RateLimitScope;
keyPrefix?: string;
keyResolver?: RateLimitKeyResolver;
}

ctx

property

source

property
Interaction | Message

command

scope

keyPrefix

property
string

keyResolver