fixed test (but it still failed, help please)

This commit is contained in:
p0lunin 2020-02-04 20:47:29 +02:00
parent 6bb8241f27
commit b064b85d37

View file

@ -26,8 +26,10 @@
//! // Setup logging here...
//!
//! Dispatcher::new(Bot::new("MyAwesomeToken"))
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| async move {
//! ctx.reply("pong").await
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| {
//! async move {
//! ctx.answer("pong").send().await?;
//! }
//! })
//! .dispatch()
//! .await;