---
description: Sets cooldowns for the database and the bot | Class
---

# Cooldowns

### Constructor

```typescript
new Cooldowns(options);
```

| Parameter | Description                      | Type                                                        |
| --------- | -------------------------------- | ----------------------------------------------------------- |
| `options` | The options for nocli-handler.js | [NoCliCooldownOptions](../definitions/noclicooldownoptions) |

### Methods

* [x] [loadCooldowns](cooldowns/.loadcooldowns)
* [x] [getKeyFromCooldownUsage](cooldowns/.getkeyfromcooldownusage)
* [x] [cancelCooldown](cooldowns/.cancelcooldown)
* [x] [updateCooldown](cooldowns/.updatecooldown)
* [x] [verifyCooldown](cooldowns/.verifycooldown)
* [x] [getKey](cooldowns/.getkey)
* [x] [canBypass](cooldowns/.canbypass)
* [x] [start](cooldowns/.start)
* [x] [canRunAction](cooldowns/.canbypass)

