mirror of
https://github.com/reality/dbot.git
synced 2025-01-11 12:32:36 +01:00
modehate message
This commit is contained in:
parent
32e2c9434c
commit
b2c4793ad8
@ -3,6 +3,7 @@ var modehate = function(dbot) {
|
||||
|
||||
return {
|
||||
'listener': function(data) {
|
||||
console.log('caught modehate');
|
||||
if(dbot.db.modehate.include(data.user)) {
|
||||
dbot.instance.send('KICK', data.channel, data.user, 'gtfo');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user