From 52780419270033d84dcecf8ba1c554f51ae29980 Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Fri, 14 Feb 2020 00:29:26 +0600 Subject: [PATCH] Rename commands_bot -> admin_bot --- .gitignore | 2 +- examples/{commands_bot => admin_bot}/Cargo.toml | 2 +- examples/{commands_bot => admin_bot}/src/main.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename examples/{commands_bot => admin_bot}/Cargo.toml (93%) rename examples/{commands_bot => admin_bot}/src/main.rs (99%) 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();