2016-08-24 17:15:14 +00:00
|
|
|
module.exports = (bot, trigger, lib) => {
|
|
|
|
trigger.add({
|
|
|
|
name: 'debug',
|
2016-08-24 20:02:20 +00:00
|
|
|
call: /^\!debug$/i,
|
2016-08-24 17:15:14 +00:00
|
|
|
level: 100,
|
|
|
|
active: 1,
|
|
|
|
func: (e) => {
|
2016-08-24 19:36:18 +00:00
|
|
|
e.reply(lib.toggleDebug());
|
2016-08-24 17:15:14 +00:00
|
|
|
},
|
|
|
|
desc: 'toggle debug'
|
|
|
|
});
|
|
|
|
};
|