fmbot-discord / fmbot

.fmbot is a social Discord bot that provides music statistics for you and your friends.
https://fmbot.xyz/
Other
309 stars 46 forks source link

"saved streak has been updated" when saving a new streak #284

Open burdoto opened 5 months ago

burdoto commented 5 months ago

Command to reproduce & Last.FM username: /streak & BotiasTurbo

Describe the bug: A couple days ago, I saved a streak on a song for 5miinust Since then, I didn't save new streaks Today, I saved another streak for the same song, album and artist While streakhistory still shows both separate streaks, the initial message from issuing /streak showed that my saved streak would have been updated, even though it was the first time I used the command on this specific streak.

Screenshots: Screenshot_20240610_170908_Discord.jpg

Version (use.fmstatus): Not listed Screenshot_20240610_170944_Discord.jpg

th0mk commented 2 months ago

I double checked, and it isn't possible for the bot to reply with 'Streak has been updated' unless there was already a streak in the database. Could it be that maybe the wrong streak was updated?

burdoto commented 2 months ago

What I think might have happened is LastFM had a hiccup for a handful of days and caught itself after a little while, which lead to me continuing the streak from the other day.

However, the starting date of the saved streak fits the issue occurrence and report date: image