From 52d9a0879e96303679567e2bab47df176ea98d54 Mon Sep 17 00:00:00 2001 From: baz Date: Sat, 18 Nov 2023 20:27:42 +0000 Subject: [PATCH] Add cooldowns collection to main --- index.js | 1 + 1 file changed, 1 insertion(+) 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);