Method TryPeekQueue
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
TryPeekQueue(out LavalinkTrack?)
Attempts to retrieve the next track in the queue without removing it.
public bool TryPeekQueue(out LavalinkTrack? track)
Parameters
track
LavalinkTrackThe next track in the queue, or null if the queue is empty.
Returns
- bool
True if a track was found, false otherwise.