Skip to content

PlayHandlerOptions

type PlayHandlerOptions = object;

The options of the handler of a song or a playlist.

position?: number;

[Default: 0] Position of the song/playlist to add to the queue, <= 0 to add to the end of the queue


skip?: boolean;

[Default: false] Skip the playing song (if exists) and play the added playlist instantly


textChannel?: GuildTextBasedChannel;

The default text channel of the queue