forked from GitHub/dbot
named rmlast
This commit is contained in:
parent
ece8974659
commit
7071a7dac6
@ -22,7 +22,7 @@ var quotes = function(dbot) {
|
|||||||
if(q) {
|
if(q) {
|
||||||
if(quotes.hasOwnProperty(q[1])) {
|
if(quotes.hasOwnProperty(q[1])) {
|
||||||
var quote = quotes[q[1]].pop();
|
var quote = quotes[q[1]].pop();
|
||||||
dbot.say('\'' + quote + '\' removed from ' + q[1]);
|
dbot.say(data.channel, '\'' + quote + '\' removed from ' + q[1]);
|
||||||
rmAllowed = false;
|
rmAllowed = false;
|
||||||
} else {
|
} else {
|
||||||
dbot.say(data.channel, 'No quotes exist under ' + q[1]);
|
dbot.say(data.channel, 'No quotes exist under ' + q[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user