forked from GitHub/dbot
ah just remove that shit for now
This commit is contained in:
parent
ba9921919f
commit
e3b35adb1c
@ -3,13 +3,7 @@ var _ = require('underscore')._;
|
|||||||
var pages = function(dbot) {
|
var pages = function(dbot) {
|
||||||
return {
|
return {
|
||||||
'/imgur/random': function(req, res) {
|
'/imgur/random': function(req, res) {
|
||||||
var quoteCat = dbot.db.quoteArrs[dbot.config.modules.imgur.highscore],
|
var highScore = 0;
|
||||||
highScore = 0;
|
|
||||||
|
|
||||||
if(quoteCat) {
|
|
||||||
highScore = _.last(quoteCat);
|
|
||||||
}
|
|
||||||
|
|
||||||
res.render('imgurr', { "highscore" : highScore });
|
res.render('imgurr', { "highscore" : highScore });
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user