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... //! // Setup logging here...
//! //!
//! Dispatcher::new(Bot::new("MyAwesomeToken")) //! Dispatcher::new(Bot::new("MyAwesomeToken"))
//! .message_handler(|ctx: DispatcherHandlerCtx<Message>| async move { //! .message_handler(|ctx: DispatcherHandlerCtx<Message>| {
//! ctx.reply("pong").await //! async move {
//! ctx.answer("pong").send().await?;
//! }
//! }) //! })
//! .dispatch() //! .dispatch()
//! .await; //! .await;