Fix a code typo in README.md

This commit is contained in:
Hirrolot 2022-10-03 18:01:24 +06:00
parent 5922984f6c
commit a3116bb0d6

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;