Fix ngrok_ping_pong example required-features

...and info! message
This commit is contained in:
Maybe Waffle 2022-03-25 17:21:23 +04:00
parent 2bdfcc9ca6
commit e951af7abe
2 changed files with 5 additions and 1 deletions

View file

@ -148,3 +148,7 @@ required-features = ["macros"]
[[example]]
name = "dispatching_features"
required-features = ["macros"]
[[example]]
name = "ngrok_ping_pong"
required-features = ["webhooks-axum"]

View file

@ -6,7 +6,7 @@ use teloxide::{dispatching::update_listeners::webhooks, prelude::*};
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting heroku_ping_pong_bot...");
log::info!("Starting ngrok_ping_pong_bot...");
let bot = Bot::from_env().auto_send();