add cooldown

This commit is contained in:
Emily 2020-10-10 13:29:49 +11:00
parent d18d9267f2
commit d214791a1f

View file

@ -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 };
}
}