Skip to main content

ruvyrias / Exports / TrackEndEvent

Interface: TrackEndEvent

Represents the event when a track finishes playing in the player.

Hierarchy

Table of contents

Properties

Properties

guildId

guildId: string

The unique identifier of the guild where the player event occurred.

Inherited from

PlayerEvent.guildId

Defined in

src/Player/Player.ts:47


op

op: "event"

The operation identifier, always set to 'event'.

Inherited from

PlayerEvent.op

Defined in

src/Player/Player.ts:43


reason

reason: TrackEndReason

The reason for the track ending.

Defined in

src/Player/Player.ts:69


track

track: Track

The track that has ended.

Defined in

src/Player/Player.ts:67


type

type: "TrackEndEvent"

The type of the player event, set to 'TrackEndEvent'.

Overrides

PlayerEvent.type

Defined in

src/Player/Player.ts:65