mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Fix ngrok_ping_pong example required-features
...and info! message
This commit is contained in:
parent
2bdfcc9ca6
commit
e951af7abe
2 changed files with 5 additions and 1 deletions
|
@ -148,3 +148,7 @@ required-features = ["macros"]
|
|||
[[example]]
|
||||
name = "dispatching_features"
|
||||
required-features = ["macros"]
|
||||
|
||||
[[example]]
|
||||
name = "ngrok_ping_pong"
|
||||
required-features = ["webhooks-axum"]
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue