|
@@ -47,7 +47,7 @@ export default class Portal {
|
|
if (article.content !== "") {
|
|
if (article.content !== "") {
|
|
message += `\n\n${article.content}`;
|
|
message += `\n\n${article.content}`;
|
|
}
|
|
}
|
|
- message += `\n ${Emojis.LINK} ${article.link}`;
|
|
|
|
|
|
+ message += `\n${Emojis.LINK} ${article.link}`;
|
|
|
|
|
|
if (message.trim().length === 0) {
|
|
if (message.trim().length === 0) {
|
|
continue;
|
|
continue;
|
|
@@ -74,7 +74,7 @@ export default class Portal {
|
|
// If the message is more than 400 characters long, its very likely due to the article.content
|
|
// If the message is more than 400 characters long, its very likely due to the article.content
|
|
if (message.length > 400) {
|
|
if (message.length > 400) {
|
|
message = `${Emojis.NEWS} ${article.title}.\n\n${article.content}`.substring(0, 397) + "...";
|
|
message = `${Emojis.NEWS} ${article.title}.\n\n${article.content}`.substring(0, 397) + "...";
|
|
- message += `\n ${Emojis.LINK} ${article.link}`;
|
|
|
|
|
|
+ message += `\n${Emojis.LINK} ${article.link}`;
|
|
}
|
|
}
|
|
|
|
|
|
const mediaIds: any[] = [];
|
|
const mediaIds: any[] = [];
|