Fixing bug in message sending

This commit is contained in:
Logan Cusano
2023-03-30 23:03:56 -04:00
parent 8ff82a462b
commit 8a417d9ed7

View File

@@ -143,7 +143,7 @@ exports.sendPost = (post, source, channel, callback) => {
//Add the main content if it's present //Add the main content if it's present
postContent = postContent.slice(0, 4090).trim(); postContent = postContent.slice(0, 4090).trim();
if (postContent) rssMessage.setDescription({ postContent }) if (postContent) rssMessage.setDescription( postContent );
channel.send({ embeds: [rssMessage] }); channel.send({ embeds: [rssMessage] });