mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
nobody loves
This commit is contained in:
parent
189e7bc4e0
commit
1b50f94d8e
@ -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
2
run.js
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user