Merge pull request #342 from moggers87/nsfw

Warn users about content of ~ri links
This commit is contained in:
reality 2013-04-11 12:45:26 -07:00
commit fad99b8d03
2 changed files with 7 additions and 1 deletions

View File

@ -31,7 +31,7 @@ var imgur = function(dbot) {
this.commands = {
'~ri': function(event) {
this.api.getRandomImage(function(link) {
event.reply(event.user + ': ' + link);
event.reply(event.user + ': (' + dbot.t('nsfw') + ') ' + link);
});
}
}

View File

@ -0,0 +1,6 @@
{
"nsfw": {
"en": "might be NSFW",
"na'vi": "kxawm ke wivìntxu evengur"
}
}