3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-24 04:49:25 +01:00

terrible cheat

This commit is contained in:
Luke Slater 2011-10-12 21:36:42 +01:00
parent 8b23d272c6
commit defb08b8ef

View File

@ -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');
} }
}, },