Table of Contents

Method TryPeekQueue

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Attempts to retrieve the next track in the queue without removing it.

public bool TryPeekQueue(out LavalinkTrack? track)

Parameters

track LavalinkTrack

The next track in the queue, or null if the queue is empty.

Returns

bool

True if a track was found, false otherwise.