3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +01:00

nobody loves

This commit is contained in:
Luke Slater 2011-09-18 18:20:50 +01:00
parent 189e7bc4e0
commit 1b50f94d8e
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ var quotes = function(dbot) {
if(quotes.hasOwnProperty(key)) { if(quotes.hasOwnProperty(key)) {
dbot.say(data.channel, key + ': ' + quotes[key].random()); dbot.say(data.channel, key + ': ' + quotes[key].random());
} else { } else {
dbot.say(data.channel, 'No quotes under ' + key); dbot.say(data.channel, 'Nobody loves ' + key);
} }
} }
}, },

2
run.js
View File

@ -95,7 +95,7 @@ DBot.prototype.reloadModules = function() {
if(this.db.quoteArrs.hasOwnProperty(key)) { if(this.db.quoteArrs.hasOwnProperty(key)) {
this.say(data.channel, key + ': ' + this.db.quoteArrs[key].random()); this.say(data.channel, key + ': ' + this.db.quoteArrs[key].random());
} else { } else {
this.say(data.channel, 'No quotes under ' + key); this.say(data.channel, 'Nobody loves ' + key);
} }
} }
} }