3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-30 16:09:27 +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', { event.reply(dbot.t('quote_saved', {
'category': key, 'category': key,
'count': newCount, 'count': newCount,
'link': '' 'link': dbot.api.web.getUrl('/quotes/' + key)
})); }));
} else { } else {
event.reply(dbot.t('quote_saved', { event.reply(dbot.t('quote_saved', {
@ -114,7 +114,7 @@ var commands = function(dbot) {
event.reply(dbot.t('removed_from', { event.reply(dbot.t('removed_from', {
'quote': removedQuote, 'quote': removedQuote,
'category': key, 'category': key,
'link': '' 'link': dbot.api.web.getUrl('/quotes/' + key)
})); }));
} else { } else {
event.reply(dbot.t('removed_from', { event.reply(dbot.t('removed_from', {
@ -155,7 +155,7 @@ var commands = function(dbot) {
event.reply(dbot.t('removed_from', { event.reply(dbot.t('removed_from', {
'category': key, 'category': key,
'quote': quote, 'quote': quote,
'link': '' 'link': dbot.api.web.getUrl('/quotes/' + key)
})); }));
} else { } else {
event.reply(dbot.t('removed_from', { event.reply(dbot.t('removed_from', {
@ -379,7 +379,7 @@ var commands = function(dbot) {
if(_.has(dbot.modules, 'web')) { if(_.has(dbot.modules, 'web')) {
event.reply(dbot.t('quote_link', { event.reply(dbot.t('quote_link', {
'category': key, 'category': key,
'url': '' 'url': dbot.api.web.getUrl('/quotes/' + key)
})); }));
} else { } else {
event.reply(dbot.t('web_not_configured')); event.reply(dbot.t('web_not_configured'));