diff --git a/README.md b/README.md index a309cd8f..6096922c 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] } This bot replies with a dice throw to each received message: -([Full](examples/dices.rs)) +([Full](examples/throw_dice.rs)) ```rust,no_run use teloxide::prelude::*; @@ -92,7 +92,7 @@ use teloxide::prelude::*; #[tokio::main] async fn main() { pretty_env_logger::init(); - log::info!("Starting dices_bot..."); + log::info!("Starting throw dice bot..."); let bot = Bot::from_env().auto_send(); @@ -106,7 +106,7 @@ async fn main() {
- +
diff --git a/examples/dices.rs b/examples/throw_dice.rs similarity index 88% rename from examples/dices.rs rename to examples/throw_dice.rs index a91a7ea4..758778b1 100644 --- a/examples/dices.rs +++ b/examples/throw_dice.rs @@ -5,7 +5,7 @@ use teloxide::prelude::*; #[tokio::main] async fn main() { pretty_env_logger::init(); - log::info!("Starting dices_bot..."); + log::info!("Starting throw dice bot..."); let bot = Bot::from_env().auto_send(); diff --git a/media/dices.gif.REMOVED.git-id b/media/throw-dice.gif.REMOVED.git-id similarity index 100% rename from media/dices.gif.REMOVED.git-id rename to media/throw-dice.gif.REMOVED.git-id diff --git a/src/lib.rs b/src/lib.rs index f5faf538..4c2ba9d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,14 +4,14 @@ //! //! For a high-level overview, see [our GitHub repository](https://github.com/teloxide/teloxide). //! -//! ([Full](https://github.com/teloxide/teloxide/blob/master/examples/dices.rs)) +//! ([Full](https://github.com/teloxide/teloxide/blob/master/examples/throw_dice.rs)) //! ```no_run //! use teloxide::prelude::*; //! //! # #[tokio::main] //! # async fn main() { //! pretty_env_logger::init(); -//! log::info!("Starting dices_bot..."); +//! log::info!("Starting throw dice bot..."); //! //! let bot = Bot::from_env().auto_send(); //!