This commit is contained in:
Dragon Fire
2021-06-06 15:25:49 -04:00
parent 645ebbf208
commit eb49435f83
+1 -1
View File
@@ -241,7 +241,7 @@ client.on('message', async msg => {
const hasEmbed = msg.embeds.length !== 0;
if (msg.author.bot || (!hasText && !hasImage && !hasEmbed)) return;
if (client.blacklist.user.includes(msg.author.id)) return;
if (client.dispatcher.isCommand(msg) && msg.channel.type !== 'dm') return;
if (client.dispatcher.isCommand(msg)) return;
if (client.games.has(msg.channel.id)) return;
// Cleverbot handler