forked from GitHub/dbot
Got you some extra plus
This commit is contained in:
parent
c07b0c60f3
commit
96225c59ec
@ -186,7 +186,7 @@ var quotes = function(dbot) {
|
|||||||
'~link': function(event) {
|
'~link': function(event) {
|
||||||
var key = event.params[1].trim().toLowerCase();
|
var key = event.params[1].trim().toLowerCase();
|
||||||
if(quotes.hasOwnProperty(key)) {
|
if(quotes.hasOwnProperty(key)) {
|
||||||
event.reply(dbot.t('quote_link', {'category': key}) + ' - ' dbot.webUrl + ':' dbot.webPort + '/quotes/' + key);
|
event.reply(dbot.t('quote_link', {'category': key}) + ' - ' + dbot.webUrl + ':' + dbot.webPort + '/quotes/' + key);
|
||||||
} else {
|
} else {
|
||||||
event.reply(dbot.t('category_not_found'));
|
event.reply(dbot.t('category_not_found'));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user