Added a mention of /set_master_pass when it is not set

This commit is contained in:
StNicolay 2023-07-29 15:59:11 +03:00
parent c06879b08e
commit 0fac457944
Signed by: StNicolay
GPG Key ID: 9693D04DCD962B0D

View File

@ -31,9 +31,12 @@ async fn notify_about_no_master_pass(
if let Some(error) = result {
return Err(error.into());
}
bot.send_message(msg.chat.id, "No master password set")
.reply_markup(deletion_markup())
.await?;
bot.send_message(
msg.chat.id,
"No master password set. Use /set_master_pass to set it",
)
.reply_markup(deletion_markup())
.await?;
Ok(())
}