From dacc6e4e1f1ad1abdbee12baf5718bdce6b82f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sun, 16 Jun 2019 19:05:24 +0200 Subject: [PATCH] whoops --- commands/admin/autoresponse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/autoresponse.js b/commands/admin/autoresponse.js index 6042963a..e734795b 100644 --- a/commands/admin/autoresponse.js +++ b/commands/admin/autoresponse.js @@ -59,7 +59,7 @@ class autoresponseCommand extends Command { return message.channel.send('Auto response have been disable/enable on every channel'); - } else if (text.toLowerCase() == 'disable' || 'enable') { + } else if (text.toLowerCase() == 'disable' || text.toLowerCase() == 'enable') { fs.readFile('./json/autoresponse.json', 'utf8', function readFileCallback(err, data) { if (err) { console.log(err);