Merge git://github.com/reality/depressionbot

This commit is contained in:
Psychedelic Squid 2012-03-10 18:22:22 +00:00
commit 730b65761e

View File

@ -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.");
} }
} }
}; };