add cooldown
This commit is contained in:
parent
d18d9267f2
commit
d214791a1f
1 changed files with 3 additions and 2 deletions
|
@ -9,10 +9,11 @@ class Command {
|
|||
guildOnly = false,
|
||||
devOnly = false,
|
||||
aliases = new Array(),
|
||||
permLevel = "User"
|
||||
permLevel = "User",
|
||||
cooldown = 2000
|
||||
}) {
|
||||
this.client = client;
|
||||
this.conf = { enabled, guildOnly, devOnly, aliases, permLevel };
|
||||
this.conf = { enabled, guildOnly, devOnly, aliases, permLevel, cooldown };
|
||||
this.help = { name, description, category, usage };
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue