Class Cooldowns

Hierarchy

  • Cooldowns

Constructors

Properties

Methods

Constructors

Properties

track: Collection<string, number> = ...

Methods

  • Parameters

    • command: string
    • id: string
    • cooldown: number
    • bucket: Bucket

    Returns Promise<null | {
        bucket: Bucket;
        command: string;
        id: string;
        left: number;
        time: number;
    }>

  • Parameters

    • command: string
    • id: string
    • bucket: Bucket

    Returns Promise<undefined | number>

  • Parameters

    • command: string
    • id: string
    • bucket: Bucket
    • time: number

    Returns Promise<void>

Generated using TypeDoc