Default /cancel now uses deletion markup
This commit is contained in:
parent
8307bee4cf
commit
996dca00fb
@ -1,7 +1,10 @@
|
||||
use crate::handlers::markups::deletion_markup;
|
||||
use teloxide::{adaptors::Throttle, prelude::*};
|
||||
|
||||
/// Handles /cancel command when there's no active state
|
||||
pub async fn cancel(bot: Throttle<Bot>, msg: Message) -> crate::Result<()> {
|
||||
bot.send_message(msg.chat.id, "Nothing to cancel").await?;
|
||||
bot.send_message(msg.chat.id, "Nothing to cancel")
|
||||
.reply_markup(deletion_markup())
|
||||
.await?;
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user