Update README.md

This commit is contained in:
Temirkhan Myrzamadi 2020-02-14 13:31:42 +06:00 committed by GitHub
parent 54a8e5741d
commit 0358001b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,10 +193,7 @@ async fn handle_message(
#[tokio::main]
async fn main() {
teloxide::enable_logging!();
log::info!("Starting guess_a_number_bot!");
let bot = Bot::from_env();
// Setup is omitted...
Dispatcher::new(bot)
.message_handler(&DialogueDispatcher::new(|ctx| async move {