mirror of
https://github.com/reality/dbot.git
synced 2024-12-18 08:32:42 +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
|
||||
var totalQuoteCount = 0;
|
||||
for(var category in dbot.db.quotes) {
|
||||
for(var category in quotes) {
|
||||
totalQuoteCount += category.length;
|
||||
}
|
||||
dbot.say(data.channel, 'There are ' + totalQuoteCount + ' quotes in total.');
|
||||
|
Loading…
Reference in New Issue
Block a user