Command Cooldown Guide - shysolocup/noscord.js GitHub Wiki

cooldowns make it so users can't spam commands by restricting users from using the command for a period of time

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** ⚠️