from aiogram import Bot, Dispatcher, types
from aiogram.contrib.fsm_storage.memory import MemoryStorage

from data import config
# from utils.db_api.sqlite import Database
# from utils.db_api.postgresql import Database
from utils.db_api.db_gino import db

bot = Bot(token=config.BOT_TOKEN, parse_mode=types.ParseMode.HTML)
storage = MemoryStorage()
dp = Dispatcher(bot, storage=storage)
# db = Database(loop=dp.loop)
__all__ = ['bot', 'storage', 'dp', 'db']
