Skip to content

CooldownUserHandle.remainingMs

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

how long is left for the user's cooldown in milliseconds
type: Number

let handle = command.cooldown.get(user); // 1m

handle.remainingMs; // 60000


🛈 Client

🛈 AddonService

🛈 AttachmentService

🛈 ChannelService

🛈 CommandService

🛈 ComponentService

🛈 ErrorService

🛈 EventService

🛈 ExpressionService

🛈 GuildService

🛈 LogService

🛈 MessageService

🛈 PermissionService

🛈 RoleService

🛈 StorageService

🛈 TypeService

🛈 UserService

🛈 UtilService

🛈 VoiceService


Clone this wiki locally