> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bleed.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Spotify

> Control your Spotify account through Discord.

## Connecting your Spotify account

**1. Start the Process**

Use the `/spotify login` command, and follow the link provided in the
response.

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/integrations/spotify/authentication.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=3b1082a8b0dc55929315cc094f5e054b)

**2. Grant Access**

After following the link, you will be asked to grant access to your
**Spotify** account.

![](https://mintcdn.com/bleed/NOU9kBuI7_CopQLy/images/integrations/spotify/authorization.png?fit=max\&auto=format\&n=NOU9kBuI7_CopQLy\&q=85\&s=cf70574ee48d01c0a0f8f48a18618b82)

**3. Submit Code**

Once you've granted access, you will be given a code to submit in Discord.

![](https://mintcdn.com/bleed/NOU9kBuI7_CopQLy/images/integrations/spotify/input.png?fit=max\&auto=format\&n=NOU9kBuI7_CopQLy\&q=85\&s=3948c0f9d71127db435309de1056c791)

If you no longer wish to use the **Spotify integration**, you can use the `/spotify logout` command to disconnect your account from bleed.

## Controlling your Spotify Playback

> [!WARNING]
>
> You must be a **Spotify Premium** subscriber to control your playback with
> bleed.

### Playing a track

You can use the `/spotify play` command to immediately start playing a track, or
if you'd like to queue a track for later, use the `/spotify queue` command.

> [!NOTE]
>
> You can also use the member option to play the track they're currently listening
> to.

```javascript Syntax theme={null}
/spotify play query:<track> or member:<user>
```

```javascript Example theme={null}
/spotify play query:Steve Lacy is it cool? (feat. SZA)
/spotify play member:@jonathan
```

### Adjusting the volume

You can use the `/spotify volume` command to adjust the volume of the active
device.

```javascript Syntax theme={null}
/spotify volume percent:<percentage>
```

```javascript Example theme={null}
/spotify volume percent:50
```

### Seeking to a specific position

You can use the `/spotify seek` command to seek to a specific position in the
current track.

```javascript Syntax theme={null}
/spotify seek position:<minutes:seconds or seconds>
```

```javascript Example theme={null}
/spotify seek position:1:30
```

### Changing the playback device

You can use the `/spotify device transfer` command to change the device that **Spotify** is
playing on.

![](https://mintcdn.com/bleed/Iol3HRFyWVexDzQ4/images/integrations/spotify/device.png?fit=max\&auto=format\&n=Iol3HRFyWVexDzQ4\&q=85\&s=cd0df5676122c95f1acbd5a8526ba3ff)

### Interacting with the queue

The following commands can be used to interact with the queue

| Command | Description |
| - | - |
| `/spotify next` | Skip to the next track in the queue |
| `/spotify previous` | Play the previous track |
| `/spotify pause` | Pause the current track |
| `/spotify resume` | Resume the current track |
| `/spotify shuffle` | Toggle queue shuffling |
| `/spotify repeat` | Toggle repeating the track or queue |

## Non-Premium Commands

The following commands can be used without a **Spotify Premium** subscription

> [accordion] Liking the current track
>
> You can use the `/spotify like` command to like the current track.
>
> > [!TIP]
> >
> > You can also use the `/spotify unlike` command to remove the like.

> [accordion] Viewing your top artists and tracks
>
> You can use the `/spotify topartists` and `/spotify toptracks` commands to
> view your top artists and tracks for a specified time frame.
>
> > [!NOTE]
> >
> > The timeframe must be `1m`, `6m`, or `1y`.
>
> ```javascript Syntax theme={null}
> /spotify topartists duration:<timeframe>
> /spotify toptracks duration:<timeframe>
> ```
>
> ```javascript Example theme={null}
> /spotify topartists duration:1m
> /spotify toptracks duration:6m
> ```

> [accordion] Playing your current track in a voice channel
>
> You can use the `/spotify vc` command to play your current track in a
> voice channel.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.