Use three dots instead of the exclamation in the examples

This commit is contained in:
Temirkhan Myrzamadi 2020-07-25 19:45:57 +06:00
parent d4a7393b51
commit 56be9a2c59
9 changed files with 10 additions and 10 deletions

View file

@ -93,7 +93,7 @@ use teloxide::prelude::*;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting ping_pong_bot!"); log::info!("Starting ping_pong_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();
@ -316,7 +316,7 @@ And, finally, the `main` function looks like this:
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting dialogue_bot!"); log::info!("Starting dialogue_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -167,7 +167,7 @@ async fn main() {
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting admin_bot!"); log::info!("Starting admin_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -39,7 +39,7 @@ async fn main() {
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting dialogue_bot!"); log::info!("Starting dialogue_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -75,7 +75,7 @@ pub async fn webhook<'a>(
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting heroku_ping_pong_bot!"); log::info!("Starting heroku_ping_pong_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -56,7 +56,7 @@ pub async fn webhook<'a>(
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting ngrok_ping_pong_bot!"); log::info!("Starting ngrok_ping_pong_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -9,7 +9,7 @@ async fn main() {
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting ping_pong_bot!"); log::info!("Starting ping_pong_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -16,7 +16,7 @@ async fn main() {
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting shared_state_bot!"); log::info!("Starting shared_state_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -50,7 +50,7 @@ async fn main() {
async fn run() { async fn run() {
teloxide::enable_logging!(); teloxide::enable_logging!();
log::info!("Starting simple_commands_bot!"); log::info!("Starting simple_commands_bot...");
let bot = Bot::from_env(); let bot = Bot::from_env();

View file

@ -41,7 +41,7 @@
//! # #[tokio::main] //! # #[tokio::main]
//! # async fn main_() { //! # async fn main_() {
//! teloxide::enable_logging!(); //! teloxide::enable_logging!();
//! log::info!("Starting ping_pong_bot!"); //! log::info!("Starting ping_pong_bot...");
//! //!
//! let bot = Bot::from_env(); //! let bot = Bot::from_env();
//! //!