Admin and start handlers work. Added testing txt2img from first bot version (will be replaced soon)
This commit is contained in:
7
bot/handlers/initialize/all_messages.py
Normal file
7
bot/handlers/initialize/all_messages.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from aiogram.types import Message
|
||||
from bot.db.pull_db import pull
|
||||
|
||||
|
||||
async def sync_db_filter(message: Message):
|
||||
await pull()
|
||||
await message.reply(f'🔄️ Bot database synchronised. If you tried to run a command, run it again')
|
||||
Reference in New Issue
Block a user