Ver código fonte

Merge branch 'develop' of Mastodon/bots into main

Pablo Yaksic 1 semana atrás
pai
commit
2cb9e31c6a
2 arquivos alterados com 2 adições e 2 exclusões
  1. 1 1
      package.json
  2. 1 1
      src/portales/portal.ts

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "bot-noticias",
-  "version": "0.0.17",
+  "version": "0.0.18",
   "description": "Bot que busca noticias y las replica en mastodon.cl",
   "main": "dist/index.js",
   "scripts": {

+ 1 - 1
src/portales/portal.ts

@@ -97,7 +97,7 @@ export default class Portal {
         message += `\n${Emojis.LINK} ${article.link}`;
 
         if (tags.length > 0) {
-          message += `\n${tags.map((hashtag) => `#${hashtag}`).join(" ")}`;
+          message += `\n\n${tags.map((hashtag) => `#${hashtag}`).join(" ")}`;
         }
 
         // Mastodon allows a maximum of 500 characters, but historically this bot limits to 400