15 lines
292 B
JavaScript
15 lines
292 B
JavaScript
module.exports = (bot, trigger, lib) => {
|
|
trigger.add({
|
|
name: 'user',
|
|
call: /^\!user$/i,
|
|
level: 0,
|
|
active: 1,
|
|
func: (e) => {
|
|
//e.reply(e.user);
|
|
lib.getUser(e, (cbgu) => {
|
|
e.reply(cbgu);
|
|
});
|
|
},
|
|
desc: 'get Userdata'
|
|
});
|
|
}; |