forked from GitHub/dbot
Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'.
This commit is contained in:
parent
28f78373d8
commit
4ea99c7566
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user