modified: package.json

modified:   src/trigger/bot.js
This commit is contained in:
Flummi committed 2016-10-29 06:04:23 +02:00
1 parent d1c54a6682
commit 697fe17bc6
2 files changed
+10 -4

No files matched your search

+8 -3
View File
@@ -12,9 +12,14 @@ module.exports = (lib) => {
bot: lib.bot,
e: e
}
var output = safeEval(args, context);
if(typeof(output) != undefined && output !== 'undefined' && output)
e.reply(output);
try {
var output = safeEval(args, context);
if(typeof(output) != undefined && output !== 'undefined' && output)
e.reply(output);
}
catch(blah) {
e.reply('f0ck you!');
}
},
desc: 'bot debug'
});