Skip to content

Command Cooldown Guide

github-actions[bot] edited this page Sep 30, 2024 · 3 revisions

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" });


🛈 Client

🛈 AddonService

🛈 AttachmentService

🛈 ChannelService

🛈 CommandService

🛈 ComponentService

🛈 ErrorService

🛈 EventService

🛈 ExpressionService

🛈 GuildService

🛈 LogService

🛈 MessageService

🛈 PermissionService

🛈 RoleService

🛈 StorageService

🛈 TypeService

🛈 UserService

🛈 UtilService

🛈 VoiceService


Clone this wiki locally