mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
test
This commit is contained in:
parent
00dbe563bd
commit
4c3b8f1082
@ -5,7 +5,8 @@ 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 ' + data.channel + ' ' + data.user + ' :gtfo');
|
||||||
|
dbot.say(data.channel,'KICK ' + data.channel + ' ' + data.user + ' :gtfo');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user