From 44097b19a782f5499792d3f5635b50948f8c6e2a Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 9 May 2017 20:09:29 +0000 Subject: [PATCH] Fix Clevs --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index db452548..b58aa86b 100644 --- a/index.js +++ b/index.js @@ -50,7 +50,7 @@ client.registry client.on('message', async (msg) => { if (msg.author.bot) return; - if (msg.channel.type === 'dm') + if (msg.channel.type !== 'dm') if (!msg.channel.permissionsFor(client.user).has('SEND_MESSAGES')) return; if (msg.isMentioned(client.user)) { msg.channel.startTyping();