3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

title fir thing thing

This commit is contained in:
reality 2013-12-19 19:06:17 +00:00
parent c48832a2bc
commit 44a3b4e7c6

View File

@ -221,6 +221,7 @@ var reddit = function(dbot) {
this.api.getPostInfo(matches[4], function(info) { this.api.getPostInfo(matches[4], function(info) {
if(info) { if(info) {
var infoString = dbot.t('about_post', { var infoString = dbot.t('about_post', {
'title': info.title.trim(),
'poster': info.author, 'poster': info.author,
'subreddit': info.subreddit, 'subreddit': info.subreddit,
'comments': info.num_comments, 'comments': info.num_comments,