From 9c005dc0e23440955eb6505eba1d0c2057b4748c Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi <hirrolot@gmail.com> Date: Fri, 14 Feb 2020 04:11:29 +0600 Subject: [PATCH] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a027bc92..22962af0 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,6 @@ enum Dialogue { Start, ReceiveAttempt(u8), } - async fn handle_message( ctx: DialogueHandlerCtx<Message, Dialogue>, ) -> Result<DialogueStage<Dialogue>, RequestError> { @@ -172,7 +171,11 @@ async fn handle_message( } }, Err(_) => { - ctx.answer("Oh, please, send me a number!").send().await?; + ctx.answer( + "Oh, please, send me a number in the range [1; 10]!", + ) + .send() + .await?; next(ctx.dialogue) } },