Add cooldowns collection to main
This commit is contained in:
parent
2c44a552d6
commit
52d9a0879e
1
index.js
1
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);
|
||||
|
|
Loading…
Reference in New Issue