Method PlayPartialEncodedAsync
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
PlayPartialEncodedAsync(string, TimeSpan, TimeSpan)
Plays a song by its encoded track string with a start and end-time.
public Task<LavalinkGuildPlayer> PlayPartialEncodedAsync(string encodedTrack, TimeSpan startTime, TimeSpan endTime)
Parameters
encodedTrack
stringThe encoded track to play.
startTime
TimeSpanThe start time.
endTime
TimeSpanThe end time.
Returns
- Task<LavalinkGuildPlayer>
The updated guild player.