const {Collection} = require("discord.js"); module.exports = async client => { for (const x of ['commands', 'events']) { client[x] = new Collection(); await require(`../collect/${x}`)(client); } };