whoops
This commit is contained in:
parent
c8b049673d
commit
dacc6e4e1f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue