mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Fix examples/db_remember.rs
This commit is contained in:
parent
9bb2a85aba
commit
62d4440c63
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@ use teloxide::{
|
|||
ErasedStorage, RedisStorage, SqliteStorage, Storage,
|
||||
},
|
||||
prelude::*,
|
||||
types::Me,
|
||||
utils::command::BotCommands,
|
||||
};
|
||||
|
||||
|
@ -27,7 +26,7 @@ impl Default for State {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(BotCommands)]
|
||||
#[derive(Clone, BotCommands)]
|
||||
#[command(rename = "lowercase", description = "These commands are supported:")]
|
||||
pub enum Command {
|
||||
#[command(description = "get your number.")]
|
||||
|
|
Loading…
Reference in a new issue