mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
parent
53be9d0e92
commit
563c56ef3a
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ async fn main() {
|
|||
let bot = Bot::from_env();
|
||||
|
||||
teloxide::repl(bot, |bot: Bot, msg: Message| async move {
|
||||
bot.send_dice(message.chat.id).await?;
|
||||
bot.send_dice(msg.chat.id).await?;
|
||||
Ok(())
|
||||
})
|
||||
.await;
|
||||
|
|
Loading…
Reference in a new issue