TrackStartEvent
The TrackStartEvent is sent by the server to the client whenever a track begins playback.
Structure
Section titled “Structure”| Field | Type | Description |
|---|---|---|
op | string | Always event |
type | string | Always TrackStartEvent |
guildId | string | The Discord guild ID |
track | object | The Track that started playing |
Example Payload
Section titled “Example Payload”{ "op": "event", "type": "TrackStartEvent", "guildId": "1234567890", "track": { "encoded": "...", "info": { ... } }}