diff --git a/index.js b/index.js index 6e06d54..556e2ca 100644 --- a/index.js +++ b/index.js @@ -8,6 +8,7 @@ const { token } = require('./config.json'); const client = new Client({ intents: [GatewayIntentBits.Guilds] }); client.commands = new Collection(); +client.cooldowns = new Collection(); const foldersPath = path.join(__dirname, 'commands'); const commandFolders = fs.readdirSync(foldersPath);