PlayOptions
The options of DisTube#play.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T = unknown
Properties
Section titled “Properties”member?
Section titled “member?”member?: GuildMember;Requested user
Inherited from
Section titled “Inherited from”message?
Section titled “message?”message?: Message<boolean>;The message that triggered the command.
It is used as the default PlayHandlerOptions.textChannel of the queue
when no textChannel is provided.
metadata?
Section titled “metadata?”metadata?: T;Metadata
Inherited from
Section titled “Inherited from”position?
Section titled “position?”position?: number;[Default: 0] Position of the song/playlist to add to the queue, <= 0 to add to the end of the queue
Inherited from
Section titled “Inherited from”PlayHandlerOptions.position
skip?: boolean;[Default: false] Skip the playing song (if exists) and play the added playlist instantly
Inherited from
Section titled “Inherited from”PlayHandlerOptions.skip
source?
Section titled “source?”source?: string;The source to resolve the input in.
It matches the Plugin.source of a plugin, or one of its Plugin.aliases. When it is not given, every plugin is used.
Inherited from
Section titled “Inherited from”textChannel?
Section titled “textChannel?”textChannel?: GuildTextBasedChannel;The default text channel of the queue
Inherited from
Section titled “Inherited from”PlayHandlerOptions.textChannel