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