This commit is contained in:
Flummi 2016-10-29 06:08:51 +02:00
parent 697fe17bc6
commit b67cecbb45

View File

@ -2,12 +2,12 @@ var safeEval = require('safe-eval');
module.exports = (lib) => {
lib.trigger.add({
name: 'bot debug',
call: /^\!bot (.*)/i,
name: 'sandbox',
call: /^\!js (.*)/i,
level: 100,
active: 1,
func: (e) => {
var args = e.message.match(/^\!bot (.*)/i)[1];
var args = e.message.match(/^\!js (.*)/i)[1];
var context = {
bot: lib.bot,
e: e
@ -21,6 +21,6 @@ module.exports = (lib) => {
e.reply('f0ck you!');
}
},
desc: 'bot debug'
desc: 'sandbox'
});
};