forked from GitHub/dbot
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]);
|
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.');
|
||||||
|
Loading…
Reference in New Issue
Block a user