14 lines
293 B
JavaScript
14 lines
293 B
JavaScript
|
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'
|
||
|
});
|
||
|
};
|