diff --git a/bot.py b/bot.py index b3de037..22aff3f 100644 --- a/bot.py +++ b/bot.py @@ -1,8 +1,9 @@ import logging import os +from dotenv import load_dotenv + from telegram.command_processor import CommandProcessor -from dotenv import load_dotenv load_dotenv() diff --git a/telegram/command_processor.py b/telegram/command_processor.py index 7856ac6..1081f99 100644 --- a/telegram/command_processor.py +++ b/telegram/command_processor.py @@ -1,6 +1,7 @@ import telebot from telebot.types import Message + class CommandProcessor: """Processes user input and dispatches the data to other services."""