Table of Contents
API reference

Method GetLyricsAsync

Namespace
DisCatSharp.Lavalink
Assembly
DisCatSharp.Lavalink.dll

Gets the lyrics for the currently playing track.

public Task<LavalinkLyricsResult?> GetLyricsAsync(bool skipTrackSource = false, CancellationToken cancellationToken = default)

Parameters

skipTrackSource bool

Whether to skip the current track source and fetch from highest priority source.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<LavalinkLyricsResult>

The LavalinkLyricsResult or null.