const { EmbedBuilder, Collection, PermissionsBitField, ChannelType } = require('discord.js'); const client = require('..'); const config = require('../config/config.js'); client.on('messageCreate', async message => { if (message.author.bot) return; if (message.channel.type === ChannelType.DM) return; })