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