Skip to content

Commit

Permalink
Publish 7.0.5 & Merge pull request #167 from thisRandomm/v7
Browse files Browse the repository at this point in the history
Fix for SeekAsync
  • Loading branch information
Yucked authored Jun 21, 2024
2 parents 1c7ca60 + e1752f5 commit f9a3d5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LavaPlayerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static async ValueTask SeekAsync<TLavaPlayer, TLavaTrack>(this LavaPlayer
where TLavaPlayer : LavaPlayer<TLavaTrack> {
await lavaNode.UpdatePlayerAsync(
lavaPlayer.GuildId,
updatePayload: new UpdatePlayerPayload(Position: seekPosition.Milliseconds));
updatePayload: new UpdatePlayerPayload(Position: (int)seekPosition.TotalMilliseconds));
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Victoria.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>7.0.4</Version>
<Version>7.0.5</Version>
<Title>Victoria</Title>
<Authors>Yucked; Contributors</Authors>
<Copyright>2018 - 2024 Yucked. All rights reserved.</Copyright>
Expand Down

0 comments on commit f9a3d5b

Please sign in to comment.