unmodehate

This commit is contained in:
Luke Slater 2011-10-18 16:49:04 +01:00
parent 5a2121b132
commit 14db0b6eb6

View File

@ -68,6 +68,11 @@ var adminCommands = function(dbot) {
dbot.say(data.channel, 'Now modehating on ' + params[1]); 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) { 'lock': function(data, params) {
dbot.db.locks.push(params[1]); dbot.db.locks.push(params[1]);
dbot.say(data.channel, 'Locked ' + params[1] + ' quotes.'); dbot.say(data.channel, 'Locked ' + params[1] + ' quotes.');