Const
The cooldowns mapped by ID and cooldown user.
A simple explication : When a user executes a command with a cooldown, a new value is added.
[anyID]: { [commandName]: { executedAt: Date, cooldown: [command cooldown] }} Copy
[anyID]: { [commandName]: { executedAt: Date, cooldown: [command cooldown] }}
So cooldowns are mapped by IDs (can be anything, user IDs recommended) then mapped by commands.
Generated using TypeDoc
The cooldowns mapped by ID and cooldown user.
A simple explication :
When a user executes a command with a cooldown, a new value is added.
So cooldowns are mapped by IDs (can be anything, user IDs recommended) then mapped by commands.