Skeleton of project - database loading
This commit is contained in:
7
bot/handlers/initialize/pull_db.py
Normal file
7
bot/handlers/initialize/pull_db.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from bot.common import dp
|
||||
from bot.db.pull_db import pull
|
||||
|
||||
|
||||
@dp.message_handler()
|
||||
async def pull_db_if_new(_):
|
||||
await pull()
|
||||
Reference in New Issue
Block a user