Remove confusing use of respond from README

This commit is contained in:
Waffle Lapkin 2020-08-12 22:44:56 +03:00 committed by GitHub
parent f521f08470
commit 7a3ce7f05c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ async fn main() {
teloxide::repl(bot, |message| async move {
message.answer_dice().send().await?;
respond(())
ResponseResult::<()>::Ok(())
})
.await;
}