Harmonise example bot initial logs

Former-commit-id: b8c3f48c7f
This commit is contained in:
Hirrolot 2022-04-27 01:00:08 +06:00
parent 34ebbe6bef
commit 5723d7b9b7
11 changed files with 11 additions and 11 deletions

View file

@ -213,7 +213,7 @@ impl Default for State {
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting dialogue_bot...");
log::info!("Starting dialogue bot...");
let bot = Bot::from_env().auto_send();

View file

@ -56,7 +56,7 @@ impl FromStr for UnitOfTime {
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting admin_bot...");
log::info!("Starting admin bot...");
let bot = teloxide::Bot::from_env().auto_send();

View file

@ -21,7 +21,7 @@ enum Command {
#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
pretty_env_logger::init();
log::info!("Starting bot...");
log::info!("Starting buttons bot...");
let bot = Bot::from_env().auto_send();

View file

@ -38,7 +38,7 @@ pub enum Command {
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting db_remember_bot...");
log::info!("Starting DB remember bot...");
let bot = Bot::from_env().auto_send();

View file

@ -35,7 +35,7 @@ impl Default for State {
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting dialogue_bot...");
log::info!("Starting dialogue bot...");
let bot = Bot::from_env().auto_send();

View file

@ -12,7 +12,7 @@ use teloxide::{
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting dispatching_features_bot...");
log::info!("Starting dispatching features bot...");
let bot = Bot::from_env().auto_send();

View file

@ -39,7 +39,7 @@ use reqwest::{StatusCode, Url};
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting heroku_ping_pong_bot...");
log::info!("Starting Heroku ping-pong bot...");
let bot = Bot::from_env().auto_send();

View file

@ -9,7 +9,7 @@ use teloxide::{
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting inline_bot...");
log::info!("Starting inline bot...");
let bot = Bot::from_env().auto_send();

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 ngrok_ping_pong_bot...");
log::info!("Starting ngrok ping-pong bot...");
let bot = Bot::from_env().auto_send();

View file

@ -10,7 +10,7 @@ static MESSAGES_TOTAL: Lazy<AtomicU64> = Lazy::new(AtomicU64::default);
#[tokio::main]
async fn main() {
pretty_env_logger::init();
log::info!("Starting shared_state_bot...");
log::info!("Starting shared state bot...");
let bot = Bot::from_env().auto_send();

View file

@ -39,7 +39,7 @@
//! # #[tokio::main]
//! # async fn main() {
//! pretty_env_logger::init();
//! log::info!("Starting shared_state_bot...");
//! log::info!("Starting shared state bot...");
//!
//! let bot = Bot::from_env().auto_send();
//!