From 5ecfd3d810da281d8deb88860382e093d300d398 Mon Sep 17 00:00:00 2001 From: Hirrolot Date: Wed, 27 Apr 2022 00:54:37 +0600 Subject: [PATCH] `examples/simple_commands.rs`=> `examples/command.rs` --- README.md | 6 +++--- examples/{simple_commands.rs => command.rs} | 2 +- media/{simple-commands.gif => command.gif} | Bin 3 files changed, 4 insertions(+), 4 deletions(-) rename examples/{simple_commands.rs => command.rs} (96%) rename media/{simple-commands.gif => command.gif} (100%) 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