SlashCommand.cooldown - shysolocup/noscord.js GitHub Wiki

cooldown data for the slash command
type: CooldownHandle

commands.create("example1", "example desc", null, 5);
commands.create("example2", "example desc", null, "5s");

commands.create({ name: "example3", desc: "example desc", cooldown: 5 });
commands.create({ name: "example4", desc: "example desc", cooldown: "5s" });


⚠️ **GitHub.com Fallback** ⚠️