mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
unmodehate
This commit is contained in:
parent
5a2121b132
commit
14db0b6eb6
@ -68,6 +68,11 @@ var adminCommands = function(dbot) {
|
||||
dbot.say(data.channel, 'Now modehating on ' + params[1]);
|
||||
},
|
||||
|
||||
'unmodehate': function(data, params) {
|
||||
dbot.db.modehate.splice(dbot.db.modehate.indexOf(params[1]), 1);
|
||||
dbot.say(data.channel, 'No longer modehating on ' + params[1]);
|
||||
},
|
||||
|
||||
'lock': function(data, params) {
|
||||
dbot.db.locks.push(params[1]);
|
||||
dbot.say(data.channel, 'Locked ' + params[1] + ' quotes.');
|
||||
|
Loading…
Reference in New Issue
Block a user