Add storage, syncing db, rename module
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from aiogram import Router
|
||||
from . import initialize
|
||||
|
||||
|
||||
router = Router()
|
||||
|
||||
router.include_routers(
|
||||
initialize.router,
|
||||
)
|
||||
@@ -0,0 +1 @@
|
||||
from .initializer import router
|
||||
@@ -0,0 +1,13 @@
|
||||
from aiogram import Router, Bot
|
||||
from rich import print
|
||||
|
||||
|
||||
router = Router()
|
||||
|
||||
|
||||
@router.startup()
|
||||
async def startup(bot: Bot):
|
||||
print(f'[green]Started as[/] @{(await bot.me()).username}')
|
||||
|
||||
from bot.modules.database import pull
|
||||
await pull()
|
||||
Reference in New Issue
Block a user