diff --git a/.gitignore b/.gitignore index 0071482e..6fbae765 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,4 @@ Cargo.lock examples/ping_pong_bot/target examples/dialogue_bot/target examples/multiple_handlers_bot/target -examples/commands_bot/target \ No newline at end of file +examples/admin_bot/target \ No newline at end of file diff --git a/examples/commands_bot/Cargo.toml b/examples/admin_bot/Cargo.toml similarity index 93% rename from examples/commands_bot/Cargo.toml rename to examples/admin_bot/Cargo.toml index fc126db6..c9470f3d 100644 --- a/examples/commands_bot/Cargo.toml +++ b/examples/admin_bot/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "commands_bot" +name = "admin_bot" version = "0.1.0" authors = ["p0lunin "] edition = "2018" diff --git a/examples/commands_bot/src/main.rs b/examples/admin_bot/src/main.rs similarity index 99% rename from examples/commands_bot/src/main.rs rename to examples/admin_bot/src/main.rs index aa0823e4..9a891a5f 100644 --- a/examples/commands_bot/src/main.rs +++ b/examples/admin_bot/src/main.rs @@ -192,7 +192,7 @@ async fn handle_command(ctx: Ctx) -> Result<(), RequestError> { #[tokio::main] async fn main() { teloxide::enable_logging!(); - log::info!("Starting commands_bot!"); + log::info!("Starting admin_bot!"); let bot = Bot::from_env();