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 {
|
} else {
|
||||||
console.log(err);
|
|
||||||
console.log("the thing the thing");
|
|
||||||
res.render('error', {
|
res.render('error', {
|
||||||
'name': dbot.config.name,
|
'name': dbot.config.name,
|
||||||
'message': 'No polls under that key.'
|
'message': 'No polls under that key.'
|
||||||
|
@ -8,7 +8,7 @@ var commands = function(dbot) {
|
|||||||
|
|
||||||
// Add a quote to a category
|
// Add a quote to a category
|
||||||
'~qadd': function(event) {
|
'~qadd': function(event) {
|
||||||
var key = event.input[1].toLowerCase().trim();
|
var key = event.input[1].toLowerCase().trim(),
|
||||||
quote = event.input[2];
|
quote = event.input[2];
|
||||||
|
|
||||||
this.api.addQuote(key, quote, event.user, function(newCount) {
|
this.api.addQuote(key, quote, event.user, function(newCount) {
|
||||||
|
Loading…
Reference in New Issue
Block a user