Discord Player

LyricsResult

Provider-neutral lyrics record; either representation may be absent.

You are reading the v8 docsDev
InterfaceTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/lyrics.ts:16
interface LyricsResult

Provider-neutral lyrics record; either representation may be absent.

Properties

trackIdoptional

trackId?: string

Canonical Track ID when lookup used Track input, preventing stale queue loads.

provideroptional

Stable provider identity, stamped by dispatch when absent.

plain

plain: {
  available: false;
} | {
  available: true;
  text: string;
}

Plain text availability and contents.

synced

synced: {
  available: false;
} | {
  available: true;
  lines: readonly LyricsLine[];
}

Synchronized representation, sorted by timestamp.

metadataoptional

metadata?: JSONValue

Optional provider-owned, serializable metadata.

On this page