3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 19:52:36 +01:00

Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'.

This commit is contained in:
Psychedelic Squid 2012-03-10 15:30:15 +00:00
parent 28f78373d8
commit 4ea99c7566

View File

@ -193,7 +193,7 @@ var quotes = function(dbot) {
},
'~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) {