aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.js2
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);
}