fix message of becoming an admin

This commit is contained in:
Akulij 2025-04-26 19:56:33 +03:00
parent 403e06f542
commit 29acb02a97

View File

@ -83,7 +83,7 @@ pub async fn secret_command_handler(
.await?;
} else if pass == admin_password {
db.set_admin(user.id, true).await;
bot.send_message(msg.from.unwrap().id, "You are admin now!")
bot.send_message(msg.from.unwrap().id, "You are an admin now!")
.await?;
}
Ok(())