forked from GitHub/dbot
Merge git://github.com/reality/depressionbot
This commit is contained in:
commit
730b65761e
@ -12,7 +12,7 @@ var quotes = function(dbot) {
|
|||||||
if(quotes.hasOwnProperty(key)) {
|
if(quotes.hasOwnProperty(key)) {
|
||||||
dbot.say(data.channel, q[1] + ': ' + dbot.interpolatedQuote(key));
|
dbot.say(data.channel, q[1] + ': ' + dbot.interpolatedQuote(key));
|
||||||
} else {
|
} else {
|
||||||
dbot.say(data.channel, 'No one loves ' + q[1]);
|
dbot.say(data.channel, 'Nobody loves ' + q[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -218,9 +218,9 @@ var quotes = function(dbot) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(pruned.length > 0) {
|
if(pruned.length > 0) {
|
||||||
dbot.say(data.channel, "Pruned empty quote categories: " + pruned.join(", "));
|
dbot.say(data.channel, "Pruning empty quote categories: " + pruned.join(", "));
|
||||||
} else {
|
} else {
|
||||||
dbot.say(data.channel, "No empty quote categories. You're good to go!");
|
dbot.say(data.channel, "No empty quote categories. Commence incineration.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user