diff --git a/examples/db_remember.rs b/examples/db_remember.rs index 505df80e..055946e0 100644 --- a/examples/db_remember.rs +++ b/examples/db_remember.rs @@ -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.")]