diff options
author | Indrajith K L | 2021-03-11 19:51:37 +0530 |
---|---|---|
committer | Indrajith K L | 2021-03-11 19:51:37 +0530 |
commit | beab08570bf52b1903f9ee9b3ef05a88f3774b44 (patch) | |
tree | 24a0d29186b06e0527b9304fd9b83a0004959db0 | |
parent | 94f9820ec90f52dd7477a1646aa5e254cd97a4d2 (diff) | |
download | lul-bot-beab08570bf52b1903f9ee9b3ef05a88f3774b44.tar.gz lul-bot-beab08570bf52b1903f9ee9b3ef05a88f3774b44.tar.bz2 lul-bot-beab08570bf52b1903f9ee9b3ef05a88f3774b44.zip |
Fixes unknown command reply
-rw-r--r-- | src/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index 4a3c51d..9eeb182 100644 --- a/src/main.js +++ b/src/main.js @@ -10,7 +10,7 @@ client.on('message', (message) => { const commandReply = parseCMD(message); if (commandReply && (typeof commandReply != "object")) { message.reply(commandReply); - } else if(typeof commandReply != "object"){ + } else if(!commandReply){ generateConfusionGif(message); } |