Added a mention of /set_master_pass when it is not set
This commit is contained in:
parent
c06879b08e
commit
0fac457944
@ -31,9 +31,12 @@ 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(
|
||||||
.reply_markup(deletion_markup())
|
msg.chat.id,
|
||||||
.await?;
|
"No master password set. Use /set_master_pass to set it",
|
||||||
|
)
|
||||||
|
.reply_markup(deletion_markup())
|
||||||
|
.await?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user