mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
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