This commit is contained in:
6
bot.py
6
bot.py
@@ -2,8 +2,8 @@ from aiogram import Bot, Dispatcher, types
|
||||
from aiogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton
|
||||
from aiogram.utils import executor
|
||||
from aiogram.dispatcher.filters import Text
|
||||
from user_manager import user_manager
|
||||
from timer_manager import timer_manager
|
||||
from pomodoro_bot.user_manager import user_manager
|
||||
from pomodoro_bot.timer_manager import timer_manager
|
||||
import os
|
||||
|
||||
API_TOKEN = os.getenv("BOT_TOKEN")
|
||||
@@ -40,4 +40,4 @@ async def handle_callback(call: types.CallbackQuery):
|
||||
await call.answer()
|
||||
|
||||
def run_bot():
|
||||
executor.start_polling(dp, skip_updates=True)
|
||||
executor.start_polling(dp, skip_updates=True)
|
||||
Reference in New Issue
Block a user