• Rate limit this command, specify the time unit and the value and optionally the threshold and the message to post when someone calls the command within the rate limit

    Type Parameters

    • T extends SimpleCommandMessage | CommandInteraction<CacheType>

    Parameters

    • timeout: TIME_UNIT

      the time unit to use

    • value: number

      the value for the time unit

    • options: RateLimitOption<T> = ...

      rate limit options

    Returns GuardFunction<T>