forked from GitHub/dbot
modehate message
This commit is contained in:
parent
32e2c9434c
commit
b2c4793ad8
@ -3,6 +3,7 @@ var modehate = function(dbot) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
'listener': function(data) {
|
'listener': function(data) {
|
||||||
|
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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user