module.exports = (bot, trigger, lib) => {
trigger.add({
name: 'debug',
call: new RegExp('^\\!debug$', 'i'),
level: 100,
active: 1,
func: (e) => {
e.reply(lib.toggleDebug());
},
desc: 'toggle debug'
});
};