forked from GitHub/dbot
few small jimblings
This commit is contained in:
parent
d650f2a10a
commit
8dcde52099
@ -33,8 +33,6 @@ var pages = function(dbot) {
|
||||
});
|
||||
});
|
||||
} else {
|
||||
console.log(err);
|
||||
console.log("the thing the thing");
|
||||
res.render('error', {
|
||||
'name': dbot.config.name,
|
||||
'message': 'No polls under that key.'
|
||||
|
@ -8,7 +8,7 @@ var commands = function(dbot) {
|
||||
|
||||
// Add a quote to a category
|
||||
'~qadd': function(event) {
|
||||
var key = event.input[1].toLowerCase().trim();
|
||||
var key = event.input[1].toLowerCase().trim(),
|
||||
quote = event.input[2];
|
||||
|
||||
this.api.addQuote(key, quote, event.user, function(newCount) {
|
||||
|
Loading…
Reference in New Issue
Block a user