diff --git a/src/telegram/commands/start.rs b/src/telegram/commands/start.rs index 6673b707..8a221925 100644 --- a/src/telegram/commands/start.rs +++ b/src/telegram/commands/start.rs @@ -15,7 +15,7 @@ pub async fn handler(bot: &Bot, message: &Message) -> CommandResult { let author_username = match author.username.as_ref() { None => { - format!("{}", &author.first_name) + author.first_name.clone() }, Some(username) => { format!("@{}", &username)