new CommandRatelimiter
new CommandRatelimiter()Class CommandRatelimit.CommandRatelimiter from detritus-client.
import { CommandRatelimit } from 'detritus-client';
CommandRatelimit.CommandRatelimiter;getExceeded(
context: Context | InteractionContext,
ratelimits: CommandRatelimit[],
now?: number,
): { item: CommandRatelimitItem; ratelimit: CommandRatelimit; remaining: number }[]getOrCreate(
context: Context | InteractionContext,
ratelimit: CommandRatelimit,
): CommandRatelimitItem