From 5b4718fa5d84fa0e7e02c35d8a5f04071e8de9c3 Mon Sep 17 00:00:00 2001 From: jay Date: Fri, 25 Dec 2020 07:29:06 +0500 Subject: [PATCH] fix(command): :bug: add missing return --- lib/plugins/command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/plugins/command.js b/lib/plugins/command.js index 8986943..8405112 100644 --- a/lib/plugins/command.js +++ b/lib/plugins/command.js @@ -440,6 +440,7 @@ function command(username, message) { } else if (!item) { console.log("don't have:", message_parts[1]) cfg.quiet || bot.chat(`don't have item: ${message_parts[1]}`) + return false } switch (message_parts.length) { case 2: