Fix a code typo in README.md

Former-commit-id: a3116bb0d6
This commit is contained in:
Hirrolot 2022-10-03 18:01:24 +06:00
parent 53be9d0e92
commit 563c56ef3a

View file

@ -95,7 +95,7 @@ async fn main() {
let bot = Bot::from_env(); let bot = Bot::from_env();
teloxide::repl(bot, |bot: Bot, msg: Message| async move { teloxide::repl(bot, |bot: Bot, msg: Message| async move {
bot.send_dice(message.chat.id).await?; bot.send_dice(msg.chat.id).await?;
Ok(()) Ok(())
}) })
.await; .await;