[F] Fix username check

This commit is contained in:
Azalea
2025-01-05 05:21:47 -05:00
parent 7ad4bc2ba5
commit 51af357c5a
3 changed files with 4 additions and 4 deletions

View File

@@ -26,9 +26,7 @@ class Maimai2(
// Only show > S rank
override val shownRanks = mai2Scores.filter { it.first >= 97 * 10000 }
override val settableFields: Map<String, (Mai2UserDetail, String) -> Unit> by lazy {
mapOf(
"userName" to usernameCheck(SEGA_USERNAME_CAHRS),
)
mapOf("userName" to usernameCheck(SEGA_USERNAME_CAHRS))
}
override suspend fun userSummary(@RP username: Str, @RP token: String?) = us.cardByName(username) { card ->