cmd-dj-cooldowns
v1.0.0
Published
A cooldowns module for cmd-dj
Downloads
1
Maintainers
Readme
cmd-dj Cooldowns Module
Cooldowns are not persistent across restarts!
Add the module to your bot
const cooldowns = require('cmd-dj-cooldowns');
dj.modules.add(cooldowns());
Usage
The format of the checks are cooldowns.(length)(unit)
For example, cooldowns.1m
would be a 1 minute cooldown.
The length can be any integer.
The unit can be any of the following:
- s: Second
- m: Minute
- h: Hour
- d: Day
Default Cooldowns
- 5s
- 10s
- 30s
- 1m
- 5m
Options
Documentation coming soon