forked from GitHub/dbot
total quote count
This commit is contained in:
parent
34555817fc
commit
5379dc3d7f
@ -92,6 +92,7 @@ var quotes = function(dbot) {
|
|||||||
} else { // Give total quote count
|
} else { // Give total quote count
|
||||||
var totalQuoteCount = 0;
|
var totalQuoteCount = 0;
|
||||||
for(var category in quotes) {
|
for(var category in quotes) {
|
||||||
|
console.log('adding ' + category.length);
|
||||||
totalQuoteCount += category.length;
|
totalQuoteCount += category.length;
|
||||||
}
|
}
|
||||||
dbot.say(data.channel, 'There are ' + totalQuoteCount + ' quotes in total.');
|
dbot.say(data.channel, 'There are ' + totalQuoteCount + ' quotes in total.');
|
||||||
|
Loading…
Reference in New Issue
Block a user