mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-24 23:57:38 +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,
|
ErasedStorage, RedisStorage, SqliteStorage, Storage,
|
||||||
},
|
},
|
||||||
prelude::*,
|
prelude::*,
|
||||||
types::Me,
|
|
||||||
utils::command::BotCommands,
|
utils::command::BotCommands,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -27,7 +26,7 @@ impl Default for State {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(BotCommands)]
|
#[derive(Clone, BotCommands)]
|
||||||
#[command(rename = "lowercase", description = "These commands are supported:")]
|
#[command(rename = "lowercase", description = "These commands are supported:")]
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
#[command(description = "get your number.")]
|
#[command(description = "get your number.")]
|
||||||
|
|
Loading…
Add table
Reference in a new issue