f0ckv1/src/trigger/user.js

14 lines
293 B
JavaScript
Raw Normal View History

2016-08-23 15:50:30 +00:00
module.exports = (bot, trigger, lib) => {
trigger.add({
name: 'user',
call: new RegExp('^\\!user$', 'i'),
level: 0,
func: (e) => {
//e.reply(e.user);
lib.getUser(e, (cbgu) => {
e.reply(cbgu);
});
},
desc: 'get Userdata'
});
};