Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publishing latest news #30

Merged
merged 2 commits into from
Apr 12, 2024
Merged

publishing latest news #30

merged 2 commits into from
Apr 12, 2024

Conversation

plaha303
Copy link
Collaborator

No description provided.

@@ -1,6 +1,7 @@
from pathlib import Path

STORE_FILE = Path(__file__).resolve().parent.joinpath("news.txt")
TELEGRAM_CHANEL_FILE = 'telegram_channel.txt'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

from utils.telegram_api import send_message_news

send_message_news(text)

PS set before .env TELEGRAM_TOKEN from examples and info on slack

@plaha303 plaha303 merged commit a79a4e5 into dev Apr 12, 2024
3 checks passed
@plaha303 plaha303 deleted the plaha303_2 branch April 12, 2024 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants