createCurrentlyPlaying src/structures/Player.ts#L46
Create the object structure containing the currently playing details.
const currentlyPlaying = createCurrentlyPlaying(client, fetchedData);Returns:
CurrentlyPlayingParameters:
| Name | Type | Description |
|---|---|---|
| client | Client | The spotify client. |
| data | any | The data from the spotify api. |