From 4ea99c75660fb8739777a8128c65885c89557bcd Mon Sep 17 00:00:00 2001 From: Psychedelic Squid Date: Sat, 10 Mar 2012 15:30:15 +0000 Subject: [PATCH] Use bot's name when fetching ~d quotes, rather than hardcoding 'depressionbot'. --- modules/quotes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quotes.js b/modules/quotes.js index 912142e..bb583db 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -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) {