Skeleton of project - database loading

This commit is contained in:
BarsTiger
2023-02-13 19:51:25 +02:00
commit f778d3f71c
23 changed files with 348 additions and 0 deletions

8
bot/common.py Normal file
View File

@@ -0,0 +1,8 @@
from aiogram import Bot, Dispatcher
from bot.config import TOKEN
from aiogram.contrib.fsm_storage.memory import MemoryStorage
bot = Bot(token=TOKEN)
storage = MemoryStorage()
dp = Dispatcher(bot, storage=storage)