3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

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