From eb49435f83a72c3565350122b3aa9c6a6dae5216 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 6 Jun 2021 15:25:49 -0400 Subject: [PATCH] Fix --- Xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiao.js b/Xiao.js index f73f92e4..e6438464 100644 --- a/Xiao.js +++ b/Xiao.js @@ -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