module.exports = (bot, trigger, lib) => { trigger.add({ name: 'level', call: new RegExp('^\\!level$', 'i'), level: 0, func: (e) => { lib.getUserlevel(e, (cb) => { e.reply("level from "+e.user.getNick()+": "+cb.level+" (Channel: "+cb.channel+" DB: "+cb.db+")"); }); }, desc: 'get Userlevel' }); };