mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 16:42:39 +01:00
total quote count
This commit is contained in:
parent
0b50552623
commit
676be3f93f
@ -91,7 +91,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 dbot.db.quotes) {
|
for(var category in quotes) {
|
||||||
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