📄️ Playing music
It's now time to play our first notes using Lavalink4NET. In practice, for most users it is easier to manage connection to voice channels and player retrieval using a single method in their commands module.
📄️ Stopping the player
To stop the player, we can use the StopAsync method. This method will stop the player and clear the queue.
📄️ Controlling volume
To control the volume of the player, we can use the SetVolumeAsync method. This method takes a volume value between 0 and 1000. The default volume is 100.
📄️ Showing player position
To show the current player position, we can use the CurrentPosition property. This property returns a TimeSpan value that represents the current position of the player.
📄️ Pausing and resuming
Pausing the player
📄️ Skipping tracks
To skip the current track, we can use the SkipAsync method. This method will skip the current track and play the next track in the queue.