success message
This commit is contained in:
parent
ac2040eee9
commit
ddfb7994c8
|
@ -335,7 +335,8 @@ class TgBot:
|
|||
element.text = update.message.text
|
||||
|
||||
await element.asave()
|
||||
|
||||
await update.effective_message.reply_markdown_v2('Изображение сохранено' if update.message.photo else 'Текст сохранен')
|
||||
|
||||
empty_fields = await tmc_element.field.filter(text=None, file_id=None).acount()
|
||||
if empty_fields > 0:
|
||||
context.chat_data["step"] = "add_tmc"
|
||||
|
|
Loading…
Reference in New Issue