Skip to content

Commit

Permalink
adjust featured order
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Sep 24, 2024
1 parent 02ab0b5 commit b5b756d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FMBot.Bot/Services/TimerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -465,12 +465,13 @@ public async Task CheckForNewFeatured()

await this._webhookService.PostFeatured(newFeatured, this._client);
await this._featuredService.SetFeatured(newFeatured);
await this._webhookService.SendFeaturedWebhooks(newFeatured);

if (newFeatured.FeaturedMode == FeaturedMode.RecentPlays)
{
await this._featuredService.ScrobbleTrack(this._client.CurrentUser.Id, newFeatured);
}

await this._webhookService.SendFeaturedWebhooks(newFeatured);
}

Log.Information($"{nameof(CheckForNewFeatured)}: Setting new featured in bot");
Expand Down

0 comments on commit b5b756d

Please sign in to comment.