3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-25 20:22:39 +01:00

Merge pull request #23 from psquid/master

Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'
This commit is contained in:
Luke Slater 2012-03-10 07:34:51 -08:00
commit 0aab68c01f

View File

@ -193,7 +193,7 @@ var quotes = function(dbot) {
}, },
'~d': function(data, params) { '~d': function(data, params) {
dbot.say(data.channel, data.user + ': ' + dbot.interpolatedQuote('depressionbot')); dbot.say(data.channel, data.user + ': ' + dbot.interpolatedQuote(dbot.name));
}, },
'~link': function(data, params) { '~link': function(data, params) {