Table of Contents

Method PlayPartialAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Plays a song partially by its identifier with a start and end-time.

public Task<LavalinkGuildPlayer> PlayPartialAsync(string identifier, TimeSpan startTime, TimeSpan endTime)

Parameters

identifier string

The identifier to play.

startTime TimeSpan

The start time.

endTime TimeSpan

The end time.

Returns

Task<LavalinkGuildPlayer>

The updated guild player.

Plays a track partially with a start and end-time.

public Task<LavalinkGuildPlayer> PlayPartialAsync(LavalinkTrack track, TimeSpan startTime, TimeSpan endTime)

Parameters

track LavalinkTrack

The track to play.

startTime TimeSpan

The start time.

endTime TimeSpan

The end time.

Returns

Task<LavalinkGuildPlayer>

The updated guild player.