Skip to content

Commit

Permalink
fix: Fix DSharpPlus sample
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobreuer committed Feb 6, 2024
1 parent 5c5b1bd commit 0078e2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/Lavalink4NET.DSharpPlus.ExampleBot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Lavalink4NET;
using Lavalink4NET.Extensions;
using Lavalink4NET.Players;
using Lavalink4NET.Players.Queued;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
Expand Down Expand Up @@ -51,7 +52,7 @@ await _audioService

var playerOptions = new LavalinkPlayerOptions
{
InitialTrack = new TrackReference("https://www.youtube.com/watch?v=dQw4w9WgXcQ"),
InitialTrack = new TrackQueueItem("https://www.youtube.com/watch?v=dQw4w9WgXcQ"),
};

await _audioService.Players
Expand Down

0 comments on commit 0078e2c

Please sign in to comment.