From c303a1040d8742934ca5f7a9e1f4f8b6d912ad38 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 29 Oct 2016 05:45:23 +0200 Subject: [PATCH] test --- src/trigger/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trigger/bot.js b/src/trigger/bot.js index bf9d614..29f4c2b 100644 --- a/src/trigger/bot.js +++ b/src/trigger/bot.js @@ -20,7 +20,7 @@ module.exports = (lib) => { vm.runInNewContext('this.output = '+args, sandbox); var output = util.inspect(sandbox.output); - if(output !== undefined) + if(typeof(output) !== undefined) e.reply(output); }, desc: 'bot debug'