Skip to content

Commit

Permalink
Update MusicModule.cs
Browse files Browse the repository at this point in the history
Remove obsolete "track", and replace with "Uri".

Signed-off-by: Thomas Loupe <[email protected]>
  • Loading branch information
thomasloupe authored Aug 15, 2023
1 parent f7a24f9 commit d2c2e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/Lavalink4NET.Discord_NET.ExampleBot/MusicModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ public async Task Play(string query)

if (position == 0)
{
await ReplyAsync("🔈 Playing: " + track.Source);
await ReplyAsync("🔈 Playing: " + track.Uri);
}
else
{
await ReplyAsync("🔈 Added to queue: " + track.Source);
await ReplyAsync("🔈 Added to queue: " + track.Uri);
}
}

Expand Down

0 comments on commit d2c2e1b

Please sign in to comment.