mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 03:33:07 +01:00
test
This commit is contained in:
parent
4793bfe7c6
commit
62ef1d36e1
@ -64,7 +64,7 @@ var adminCommands = function(dbot) {
|
||||
},
|
||||
|
||||
'modehate': function(data, params) {
|
||||
dbot.db.modehate = [params[2]];
|
||||
dbot.db.modehate.push(params[2]);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -4,7 +4,7 @@ var modehate = function(dbot) {
|
||||
return {
|
||||
'listener': function(data) {
|
||||
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