3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2014-12-24 00:19:25 +00:00
parent 2b31ce12d9
commit e2190444a8

View File

@ -18,7 +18,7 @@ var commands = function(dbot) {
event.reply(dbot.t('quote_saved', {
'category': key,
'count': newCount,
'link': ''
'link': dbot.api.web.getUrl('/quotes/' + key)
}));
} else {
event.reply(dbot.t('quote_saved', {
@ -114,7 +114,7 @@ var commands = function(dbot) {
event.reply(dbot.t('removed_from', {
'quote': removedQuote,
'category': key,
'link': ''
'link': dbot.api.web.getUrl('/quotes/' + key)
}));
} else {
event.reply(dbot.t('removed_from', {
@ -155,7 +155,7 @@ var commands = function(dbot) {
event.reply(dbot.t('removed_from', {
'category': key,
'quote': quote,
'link': ''
'link': dbot.api.web.getUrl('/quotes/' + key)
}));
} else {
event.reply(dbot.t('removed_from', {
@ -379,7 +379,7 @@ var commands = function(dbot) {
if(_.has(dbot.modules, 'web')) {
event.reply(dbot.t('quote_link', {
'category': key,
'url': ''
'url': dbot.api.web.getUrl('/quotes/' + key)
}));
} else {
event.reply(dbot.t('web_not_configured'));