Fix examples/db_remember.rs

This commit is contained in:
Hirrolot 2022-04-02 21:41:04 +06:00
parent 9bb2a85aba
commit 62d4440c63

View file

@ -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.")]