This commit is contained in:
2024-05-29 22:44:58 +03:00
parent 704b07fbf8
commit c66f6d693b

View File

@@ -351,7 +351,7 @@ def check_discord_public():
for topic_id, topic_title in reversed(list_for_public):
text_data = news_content(topic_id)
if text_data:
content = f"----------------------------------------------------------\n### {topic_title}\t\n" + text_data + "\n"
content = f"----------------------------------------------------------\n### {topic_title}\t\n" + text_data + "\n" + "@here"
# Разбиваем содержимое на части по 4000 символов
for i in range(0, len(content), 2000):
await channel.send(content[i:i+2000])