Method AddToQueueAt
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
AddToQueueAt(int, LavalinkTrack)
Inserts a track at the specified index in the queue.
public void AddToQueueAt(int index, LavalinkTrack track)
Parameters
index
intThe zero-based index at which the track should be inserted.
track
LavalinkTrackThe track to insert.
AddToQueueAt(int, IEnumerable<LavalinkTrack>)
Inserts a range of tracks at the specified index in the queue.
public void AddToQueueAt(int index, IEnumerable<LavalinkTrack> tracks)
Parameters
index
intThe zero-based index at which the tracks should be inserted.
tracks
IEnumerable<LavalinkTrack>The tracks to insert.