Fix Clevs

This commit is contained in:
Daniel Odendahl Jr
2017-05-09 20:09:29 +00:00
parent a4657fda8d
commit 44097b19a7
+1 -1
View File
@@ -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();