Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
12 lines (12 loc) · 587 Bytes

channelCooldown.md

File metadata and controls

executable file
·
12 lines (12 loc) · 587 Bytes

ChannelCooldown

Usage

channelCooldown: Time in milliseconds
// Example
channelCooldown: 10000 // 10 Seconds cooldown
  • The user [who ran the command] must wait until the set amount of time passes before they can run the command again. Note: This cooldown is a per channel cooldown meaning let's say if you put a channelCooldown in channel A of 24hrs then the user must wait 24hrs before they can run the command again in channel A but they can run the command again in channel B.

Return Error

returnChannelCooldownError: Boolean // Default: true