CooldownData: { end: number; timer: NodeJS.Timeout; uses: number }

Data for managing cooldowns.

Type declaration

  • end: number

    When the cooldown ends.

  • timer: NodeJS.Timeout

    Timeout object.

  • uses: number

    Number of times the command has been used.