tg_rss_bot/bot.py
Alexey Skobkin 1807424586
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
telegram. Implementing Telegram bot run script.
2022-05-02 19:14:12 +03:00

14 lines
244 B
Python

import logging
import os
from telegram.command_processor import CommandProcessor
from dotenv import load_dotenv
load_dotenv()
token = os.getenv('TELEGRAM_TOKEN')
bot = CommandProcessor(token)
logging.info("Starting Telegram bot")
bot.run()