Send date with meme and reddit

This commit is contained in:
Daniel Odendahl Jr
2018-10-12 23:32:00 +00:00
parent 804e8fcdd4
commit 7c7052525c
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -33,6 +33,7 @@ module.exports = class MemeCommand extends SubredditCommand {
.setTitle(post.title)
.setImage(post.post_hint === 'image' ? post.url : null)
.setURL(`https://www.reddit.com${post.permalink}`)
.setTimestamp(post.created_utc * 1000)
.setFooter(`${post.ups}`);
}
};
+1
View File
@@ -28,6 +28,7 @@ module.exports = class RedditCommand extends SubredditCommand {
.setTitle(post.title)
.setImage(post.post_hint === 'image' ? post.url : null)
.setURL(`https://www.reddit.com${post.permalink}`)
.setTimestamp(post.created_utc * 1000)
.setFooter(`${post.ups}`);
}
};