Fixing bug in message sending
This commit is contained in:
@@ -143,7 +143,7 @@ exports.sendPost = (post, source, channel, callback) => {
|
||||
|
||||
//Add the main content if it's present
|
||||
postContent = postContent.slice(0, 4090).trim();
|
||||
if (postContent) rssMessage.setDescription({ postContent })
|
||||
if (postContent) rssMessage.setDescription( postContent );
|
||||
|
||||
channel.send({ embeds: [rssMessage] });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user