PlayOptions
audioTrackId, language, and loudnessNormalizer are NodeLink-only options and are rejected for a Lavalink player. Other options remain shared.
Definition
export interface PlayOptions {
/** The position to start the track. */
readonly startTime?: number;
/** The position to end the track. */
readonly endTime?: number;
/** Whether to not replace the track if a play payload is sent. */
readonly noReplace?: boolean;
/** NodeLink optional audio track id for alternate audio tracks. */
readonly audioTrackId?: string;
/** Legacy NodeLink alias for audioTrackId. */
readonly language?: string;
/** NodeLink loudness normalizer toggle. */
readonly loudnessNormalizer?: boolean;
}