mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Use Command::repl
in README.md
This commit is contained in:
parent
739772929b
commit
db30e9efbe
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ async fn main() {
|
|||
|
||||
let bot = Bot::from_env();
|
||||
|
||||
teloxide::commands_repl(bot, answer, Command::ty()).await;
|
||||
Command::repl(bot, answer).await;
|
||||
}
|
||||
|
||||
#[derive(BotCommands, Clone)]
|
||||
|
|
Loading…
Reference in a new issue