Testing text2img command (will be replaced, only for tests); added exception handling, queue and database table with generated images
This commit is contained in:
1 parent
3bd34009ae
commit
d56f1d386f
21 files changed
+219
-34
No files matched your search
@@ -4,5 +4,6 @@ from bot.db.pull_db import pull
|
||||
|
||||
async def sync_db_filter(message: Message):
|
||||
await pull()
|
||||
await message.reply(f'🔄️ Bot database synchronised because of restart. '
|
||||
f'If you tried to run a command, run it again')
|
||||
if message.is_command():
|
||||
await message.reply(f'🔄️ Bot database synchronised because of restart. '
|
||||
f'If you tried to run a command, run it again')
|
||||
Reference in new issue
Block a user