f0ckv1/src/trigger/debug.js

12 lines
225 B
JavaScript
Raw Normal View History

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) => {
e.reply(lib.toggleDebug());
2016-08-24 17:15:14 +00:00
},
desc: 'toggle debug'
});
};