Added timestamp call to Emmelia builder
This commit is contained in:
@@ -6,6 +6,7 @@ const { NodeHtmlMarkdown } = require('node-html-markdown');
|
||||
exports.EmmeliaEmbedBuilder = class PostEmbedBuilder extends EmbedBuilder {
|
||||
constructor() {
|
||||
super()
|
||||
this.setTimestamp();
|
||||
this.setFooter({ text: 'Brought to you by Emmelia.' });
|
||||
}
|
||||
}
|
||||
@@ -85,8 +86,7 @@ exports.sendPost = (post, source, channel, callback) => {
|
||||
.setURL(postLink)
|
||||
.addFields({ name: "Post Content", value: postContent, inline: false })
|
||||
.addFields({ name: 'Published', value: postPubDate, inline: true })
|
||||
.addFields({ name: 'Source', value: postSourceLink, inline: true })
|
||||
.setTimestamp()
|
||||
.addFields({ name: 'Source', value: postSourceLink, inline: true })
|
||||
|
||||
if (postImage) rssMessage.setImage(postImage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user