Method SeekAsync
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
SeekAsync(int)
Seeks the player to the position in seconds
.
public Task<LavalinkGuildPlayer> SeekAsync(int seconds)
Parameters
seconds
intThe seconds to seek to.
Returns
- Task<LavalinkGuildPlayer>
The updated guild player.
SeekAsync(TimeSpan)
Seeks the player to the position.
public Task<LavalinkGuildPlayer> SeekAsync(TimeSpan position)
Parameters
position
TimeSpanThe position to seek to.
Returns
- Task<LavalinkGuildPlayer>
The updated guild player.