mirror of
https://github.com/reality/dbot.git
synced 2024-12-25 04:02:39 +01:00
modehate
This commit is contained in:
parent
16354db060
commit
d0b3b5252c
@ -6,6 +6,7 @@ var modehate = function(dbot) {
|
||||
console.log('THIS: ' + data.raw[0]);
|
||||
if(data.raw[0].indexOf('-oooo') != -1) {
|
||||
console.log('test');
|
||||
console.log('KICK ' + data.channel + ' ' + data.user + ' :gtfo - mass deop protection');
|
||||
dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo - mass deop protection');
|
||||
} else if(dbot.db.modehate.include(data.user) && data.raw[0].indexOf('-o') != -1) {
|
||||
dbot.instance.send('KICK ' + data.channel + ' ' + data.user + ' :gtfo');
|
||||
|
Loading…
Reference in New Issue
Block a user