API reference
Method GetLyricsAsync
- Namespace
- DisCatSharp.Lavalink
- Assembly
- DisCatSharp.Lavalink.dll
GetLyricsAsync(bool, CancellationToken)
Gets the lyrics for the currently playing track.
public Task<LavalinkLyricsResult?> GetLyricsAsync(bool skipTrackSource = false, CancellationToken cancellationToken = default)
Parameters
skipTrackSourceboolWhether to skip the current track source and fetch from highest priority source.
cancellationTokenCancellationTokenThe cancellation token.
Returns
- Task<LavalinkLyricsResult>
The LavalinkLyricsResult or null.