forked from GitHub/dbot
new post with less info
This commit is contained in:
parent
45f1b3c311
commit
48ba900ea1
@ -58,7 +58,7 @@ var reddit = function(dbot) {
|
||||
this.api.getNewPosts(feed.subreddit, checkTimes[channel.id][feed.subreddit], function(err, posts) {
|
||||
if(!err && posts.length > 0) {
|
||||
_.each(posts, function(post) {
|
||||
dbot.say(channel.server, channel.channel, dbot.t('about_post', {
|
||||
dbot.say(channel.server, channel.channel, dbot.t('about_new_post', {
|
||||
'title': _.unescape(post.title.trim()),
|
||||
'poster': post.author,
|
||||
'subreddit': post.subreddit,
|
||||
|
@ -14,6 +14,9 @@
|
||||
"it": "[Messaggio di {poster} su {subreddit} — Commenti: {comments}, Punteggio: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)] — {url}"
|
||||
|
||||
},
|
||||
"about_new_post": {
|
||||
"en": "[{title}] [Post by {poster} in {subreddit}] — {url}"
|
||||
},
|
||||
"about_comment": {
|
||||
"en": "[Comment by {poster} in {subreddit} — Score: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)]",
|
||||
"cy": "[Sylw gan {poster} yn {subreddit} - Sgôr: {score} (\u00039▲{up}\u000f|\u000312{down}▼\u000f)]",
|
||||
|
Loading…
Reference in New Issue
Block a user