mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 07:25:36 +01:00
Fix
This commit is contained in:
@@ -488,6 +488,18 @@ async fn download_archive(
|
||||
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
|
||||
.send_document(
|
||||
message.chat.id,
|
||||
|
||||
Reference in New Issue
Block a user