mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
parent
34ebbe6bef
commit
5723d7b9b7
11 changed files with 11 additions and 11 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue