From 1c1daa2cc551e2317aea2fa3ae7c4bae9f07fa58 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 7 Mar 2021 16:41:22 -0500 Subject: [PATCH] Only ignore messages if they are dm --- Xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiao.js b/Xiao.js index 050a61d6..ccb6d210 100644 --- a/Xiao.js +++ b/Xiao.js @@ -155,7 +155,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 (msg.isCommand) return; + if (msg.isCommand && msg.channel.type !== 'dm') return; // Cleverbot handler const cleverbot = client.cleverbots.get(msg.channel.id);