From a3116bb0d63723d6f6bd5367de62cee30880adba Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Mon, 3 Oct 2022 18:01:24 +0600 Subject: [PATCH] Fix a code typo in `README.md` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20ac1f97..f03246ad 100644 --- a/README.md +++ b/README.md @@ -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;