Skeleton of project - database loading
This commit is contained in:
8
bot/common.py
Normal file
8
bot/common.py
Normal 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)
|
||||
Reference in New Issue
Block a user