Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 596 Bytes

channelCooldown.md

File metadata and controls

17 lines (12 loc) · 596 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