Rename commands_bot -> admin_bot

This commit is contained in:
Temirkhan Myrzamadi 2020-02-14 00:29:26 +06:00
parent b6cd019682
commit 5278041927
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -6,4 +6,4 @@ Cargo.lock
examples/ping_pong_bot/target examples/ping_pong_bot/target
examples/dialogue_bot/target examples/dialogue_bot/target
examples/multiple_handlers_bot/target examples/multiple_handlers_bot/target
examples/commands_bot/target examples/admin_bot/target

View file

@ -1,5 +1,5 @@
[package] [package]
name = "commands_bot" name = "admin_bot"
version = "0.1.0" version = "0.1.0"
authors = ["p0lunin <dmytro.polunin@gmail.com>"] authors = ["p0lunin <dmytro.polunin@gmail.com>"]
edition = "2018" edition = "2018"

View file

@ -192,7 +192,7 @@ async fn handle_command(ctx: Ctx) -> Result<(), RequestError> {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting commands_bot!"); log::info!("Starting admin_bot!");
let bot = Bot::from_env(); let bot = Bot::from_env();