This commit is contained in:
reality 2014-12-03 04:14:14 +00:00
parent 2d8a1da470
commit 0f73bca593

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': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) 'link': ''
})); }));
} 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': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) 'link': ''
})); }));
} 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': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) 'link': ''
})); }));
} 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': dbot.api.web.getUrl('quotes/' + encodeURIComponent(key)) 'url': ''
})); }));
} else { } else {
event.reply(dbot.t('web_not_configured')); event.reply(dbot.t('web_not_configured'));