mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Rename commands_bot -> admin_bot
This commit is contained in:
parent
b6cd019682
commit
5278041927
3 changed files with 3 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
|
@ -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"
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue