Closed y9san9 closed 3 years ago
In case a user changes the name when there is already it's name in the table, it doesn't changes in the bot.
https://github.com/y9san9/prizebot/blob/5f50ac6c067b790b2827289478d5e786d512e5dc/bot/src/main/kotlin/me/y9san9/prizebot/database/user_titles_storage/TableUserTitlesStorage.kt#L24-L29
I should add deleteWhere there.
In case a user changes the name when there is already it's name in the table, it doesn't changes in the bot.
https://github.com/y9san9/prizebot/blob/5f50ac6c067b790b2827289478d5e786d512e5dc/bot/src/main/kotlin/me/y9san9/prizebot/database/user_titles_storage/TableUserTitlesStorage.kt#L24-L29
I should add deleteWhere there.