tg_rss_bot/bot.py
Alexey Skobkin ec6d707a56
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
telegram. Code style changes.
2022-05-02 23:45:45 +03:00

15 lines
245 B
Python

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