From 563c56ef3ad6ad38a85287a6f4cea25104ff68d6 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` Former-commit-id: a3116bb0d63723d6f6bd5367de62cee30880adba --- 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;