osu: Improve wording for interaction outputs

This commit is contained in:
Natsu Kagami 2024-07-14 06:16:28 +02:00
parent 346f74e6c4
commit dc02b4b7e2
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 39 additions and 16 deletions

View file

@ -450,7 +450,7 @@ async fn to_user_id_query(
env.saved_users
.by_user_id(id)
.await?
.map(|u| UserID::ID(u.id))
.map(|u| UserID::Username(u.username.to_string()))
.ok_or_else(|| Error::msg("No saved account found"))
}