mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Use three dots instead of the exclamation in the examples
This commit is contained in:
parent
d4a7393b51
commit
56be9a2c59
9 changed files with 10 additions and 10 deletions
|
@ -93,7 +93,7 @@ use teloxide::prelude::*;
|
|||
#[tokio::main]
|
||||
async fn main() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting ping_pong_bot!");
|
||||
log::info!("Starting ping_pong_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
@ -316,7 +316,7 @@ And, finally, the `main` function looks like this:
|
|||
#[tokio::main]
|
||||
async fn main() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting dialogue_bot!");
|
||||
log::info!("Starting dialogue_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -167,7 +167,7 @@ async fn main() {
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting admin_bot!");
|
||||
log::info!("Starting admin_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ async fn main() {
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting dialogue_bot!");
|
||||
log::info!("Starting dialogue_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ pub async fn webhook<'a>(
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting heroku_ping_pong_bot!");
|
||||
log::info!("Starting heroku_ping_pong_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ pub async fn webhook<'a>(
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting ngrok_ping_pong_bot!");
|
||||
log::info!("Starting ngrok_ping_pong_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ async fn main() {
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting ping_pong_bot!");
|
||||
log::info!("Starting ping_pong_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ async fn main() {
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting shared_state_bot!");
|
||||
log::info!("Starting shared_state_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ async fn main() {
|
|||
|
||||
async fn run() {
|
||||
teloxide::enable_logging!();
|
||||
log::info!("Starting simple_commands_bot!");
|
||||
log::info!("Starting simple_commands_bot...");
|
||||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
//! # #[tokio::main]
|
||||
//! # async fn main_() {
|
||||
//! teloxide::enable_logging!();
|
||||
//! log::info!("Starting ping_pong_bot!");
|
||||
//! log::info!("Starting ping_pong_bot...");
|
||||
//!
|
||||
//! let bot = Bot::from_env();
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue