tg_rss_bot/bot.py

14 lines
244 B
Python
Raw Normal View History

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()