mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
@@ -488,6 +488,18 @@ async fn download_archive(
|
|||||||
i = i - 1;
|
i = i - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if task.status != TaskStatus::Complete {
|
||||||
|
bot
|
||||||
|
.edit_message_text(message.chat.id, message.id, "Ошибка! Попробуйте позже :(")
|
||||||
|
.reply_markup(InlineKeyboardMarkup {
|
||||||
|
inline_keyboard: vec![],
|
||||||
|
})
|
||||||
|
.send()
|
||||||
|
.await?;
|
||||||
|
|
||||||
|
return Ok(());
|
||||||
|
}
|
||||||
|
|
||||||
bot
|
bot
|
||||||
.send_document(
|
.send_document(
|
||||||
message.chat.id,
|
message.chat.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user