diff --git a/modules/autoshorten.js b/modules/autoshorten.js index 02be309..ff4fc90 100644 --- a/modules/autoshorten.js +++ b/modules/autoshorten.js @@ -24,7 +24,7 @@ var autoshorten = function(dbot) { http.get(options, function(res) { res.setEncoding('utf8'); res.on('data', function (response) { - dbot.say(data.channel, 'Shortened link from ' + data.user + ': ' + JSON.parse(response).surl); + dbot.say(data.channel, dbot.t('shorten_link', {'user': data.user}) + JSON.parse(response).surl); }); }); } diff --git a/modules/command.js b/modules/command.js index b23f25a..1da6b65 100644 --- a/modules/command.js +++ b/modules/command.js @@ -14,14 +14,9 @@ var command = function(dbot) { } } - var usageString = 'Usage: ~ignore [module]. Modules you can ignore are: '; - for(var i=0;i