diff --git a/README.md b/README.md index 9426c896..a309cd8f 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ Commands are strongly typed and defined declaratively, similar to how we define [structopt]: https://docs.rs/structopt/0.3.9/structopt/ [serde-json]: https://github.com/serde-rs/json -([Full](examples/simple_commands.rs)) +([Full](examples/command.rs)) ```rust,no_run use teloxide::{prelude::*, utils::command::BotCommands}; @@ -131,7 +131,7 @@ use std::error::Error; #[tokio::main] async fn main() { pretty_env_logger::init(); - log::info!("Starting simple_commands_bot..."); + log::info!("Starting command bot..."); let bot = Bot::from_env().auto_send(); @@ -176,7 +176,7 @@ async fn answer(
- +
diff --git a/examples/simple_commands.rs b/examples/command.rs similarity index 96% rename from examples/simple_commands.rs rename to examples/command.rs index 4734b980..5b30240a 100644 --- a/examples/simple_commands.rs +++ b/examples/command.rs @@ -5,7 +5,7 @@ use std::error::Error; #[tokio::main] async fn main() { pretty_env_logger::init(); - log::info!("Starting simple_commands_bot..."); + log::info!("Starting command bot..."); let bot = Bot::from_env().auto_send(); diff --git a/media/simple-commands.gif b/media/command.gif similarity index 100% rename from media/simple-commands.gif rename to media/command.gif