Discord Player

WithMetadata

Legacy metadata refinement for custom extractor helpers.

You are reading the v8 docsDev
Type AliasTypeScript@discord-player/plugin-host
View sourcepackages/plugin-host/src/structures/track-types.ts:85
type WithMetadata<T extends object, Metadata> = T & {
  metadata: Metadata;
  requestMetadata(): Promise<Metadata>;
}

Legacy metadata refinement for custom extractor helpers.