forked from GitHub/dbot
terrible cheat
This commit is contained in:
parent
8b23d272c6
commit
defb08b8ef
@ -5,8 +5,7 @@ var modehate = function(dbot) {
|
|||||||
'listener': function(data) {
|
'listener': function(data) {
|
||||||
console.log('caught modehate');
|
console.log('caught modehate');
|
||||||
if(dbot.db.modehate.include(data.user)) {
|
if(dbot.db.modehate.include(data.user)) {
|
||||||
dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo');
|
dbot.instance.send('KICK #42 ' + data.user + ' :gtfo');
|
||||||
console.log(data.channel,'KICK ' + data.channel + ' ' + data.user + ' :gtfo');
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user