Skip to main content
Version: v1.3.2

Track

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

new Track(data)

Parameters

NameType
dataITrack

Defined in

lib/queue/Track.ts:24

Properties

identifier

Readonly identifier: string

Defined in

lib/queue/Track.ts:8


uri

Readonly uri: string

Defined in

lib/queue/Track.ts:9


title

Readonly title: string

Defined in

lib/queue/Track.ts:10


author

Readonly author: string

Defined in

lib/queue/Track.ts:10


duration

Readonly duration: Timestamp

Defined in

lib/queue/Track.ts:12


source

Readonly source: string

Defined in

lib/queue/Track.ts:13


isSeekable

Readonly isSeekable: boolean

Defined in

lib/queue/Track.ts:14


isStream

Readonly isStream: boolean

Defined in

lib/queue/Track.ts:15


requester

requester: User | null

discord.js User type

Defined in

lib/queue/Track.ts:17


position

Optional position: number

Defined in

lib/queue/Track.ts:18


encodedTrack

encodedTrack: string

Defined in

lib/queue/Track.ts:19


metadata

Optional metadata: Metadata

Defined in

lib/queue/Track.ts:20

Accessors

thumbnail

get thumbnail(): null | string

Returns

null | string

Defined in

lib/queue/Track.ts:42

Methods

setRequester

setRequester(requester): void

Parameters

NameType
requesterUser

Returns

void

Defined in

lib/queue/Track.ts:52