15 lines
245 B
Python
15 lines
245 B
Python
from dotenv import load_dotenv
|
|
import logging
|
|
import os
|
|
|
|
from telegram.command_processor import CommandProcessor
|
|
|
|
|
|
load_dotenv()
|
|
|
|
token = os.getenv('TELEGRAM_TOKEN')
|
|
|
|
bot = CommandProcessor(token)
|
|
logging.info("Starting Telegram bot")
|
|
bot.run()
|