Übersich..was?
This commit is contained in:
parent
4600d8e670
commit
5f653ff650
@ -5,11 +5,7 @@ module.exports = (lib) => {
|
|||||||
level: 0,
|
level: 0,
|
||||||
active: 1,
|
active: 1,
|
||||||
func: (e) => {
|
func: (e) => {
|
||||||
if(!(user = e.message.match(/^\!user( +@(.*))?/i)[2]))
|
lib.bot.whois(!(user = e.message.match(/^\!user( +@(.*))?/i)[2])?e.user.getNick():user.trim(), e.network, (err, data) => {
|
||||||
user = e.user.getNick();
|
|
||||||
else
|
|
||||||
user = user.trim();
|
|
||||||
lib.bot.whois(user, e.network, (err, data) => {
|
|
||||||
e.reply(data);
|
e.reply(data);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user