2023-06-29 14:33:26 +00:00
|
|
|
use crate::prelude::*;
|
|
|
|
use teloxide::utils::command::BotCommands;
|
2023-04-27 13:25:23 +00:00
|
|
|
|
2023-05-09 17:27:58 +00:00
|
|
|
/// Handles the help command by sending the passwords descryptions
|
2023-04-27 13:25:23 +00:00
|
|
|
pub async fn help(bot: Throttle<Bot>, msg: Message) -> crate::Result<()> {
|
2023-05-03 18:08:14 +00:00
|
|
|
bot.send_message(msg.chat.id, Command::descriptions().to_string())
|
2023-05-06 18:02:32 +00:00
|
|
|
.reply_markup(deletion_markup())
|
2023-04-27 13:25:23 +00:00
|
|
|
.await?;
|
|
|
|
Ok(())
|
|
|
|
}
|