Update README.md

This commit is contained in:
Temirkhan Myrzamadi 2020-02-13 23:15:40 +06:00 committed by GitHub
parent 12b6cf5955
commit fbacf5a2ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,17 +36,13 @@ pretty_env_logger = "0.4.0"
```
## The ping-pong bot
This bot has a single handler, which answers "pong" on each incoming message:
This bot has a single handler, which answers "pong" to each incoming message:
```rust
use teloxide::prelude::*;
#[tokio::main]
async fn main() {
run().await;
}
async fn run() {
teloxide::enable_logging!();
log::info!("Starting ping_pong_bot!");