From 4e30bdf60e6f1d30a8f17da32b1b07fdd4bc34e2 Mon Sep 17 00:00:00 2001 From: CBenni Date: Fri, 5 Jan 2018 00:07:22 +0100 Subject: [PATCH] Fixed \ --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9a8eb31..fd843eb 100644 --- a/index.js +++ b/index.js @@ -234,7 +234,7 @@ client.on('message', async message => { } } - if (message.cleanContent[0] === '/') { + if (message.cleanContent[0] === '/' || message.cleanContent[0] === '\\') { const messageSplit = message.cleanContent.split(' '); const emoji = findEmoji(message); let result = null;