added get endpoint, updated state_management
This commit is contained in:
@@ -15,7 +15,7 @@ pub async fn menu(bot: Throttle<Bot>, msg: Message, db: DatabaseConnection) -> c
|
||||
.await?;
|
||||
}
|
||||
|
||||
let markup = spawn_blocking(|| menu_markup(names)).await?;
|
||||
let markup = spawn_blocking(|| menu_markup_sync(names)).await?;
|
||||
bot.send_message(msg.chat.id, "Choose your account")
|
||||
.reply_markup(markup)
|
||||
.await?;
|
||||
|
Reference in New Issue
Block a user