8 lines
313 B
JavaScript
8 lines
313 B
JavaScript
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;
|
|
}) |