Updated delete callback handler to alter a message if /delete command was used
This commit is contained in:
@ -17,7 +17,7 @@ pub async fn delete(bot: Throttle<Bot>, msg: Message, db: DatabaseConnection) ->
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let markup = spawn_blocking(|| menu_markup_sync("delete", names)).await?;
|
||||
let markup = spawn_blocking(|| menu_markup_sync("delete1", names)).await?;
|
||||
bot.send_message(msg.chat.id, "Choose the account to delete")
|
||||
.reply_markup(markup)
|
||||
.await?;
|
||||
|
Reference in New Issue
Block a user