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

# Spotify

> Connect your account and use Spotify-specific listening tools.

## Connect your account

Spotify login starts authorization. Logout removes the link. Some actions need an authorized account and an available Spotify device.

```text theme={null}
,spotify login
,spotify device
```

## Spotify and voice playback

Spotify Connect actions control your Spotify device. Spotify vc instead resolves the current Spotify track for playback in Discord voice.

```text theme={null}
,spotify vc
```

## Listening history

Artists and tracks accept the timeframe values 1m, 6m, and 1y. Like and unlike update your Spotify library.

```text theme={null}
,spotify artists 1m
,spotify tracks 6m
```

## Command reference

Examples use the default comma prefix. Required inputs use angle brackets; optional inputs use square brackets. Each command notes whether it is also registered in Discord's slash menu.

<AccordionGroup>
  <Accordion title=",spotify" icon="terminal">
    Connect and control your Spotify account.

    Aliases: `,sp`.

    ### spotify login

    Connect your Spotify account.

    ```text Prefix syntax theme={null}
    ,spotify login
    ```

    ### spotify logout

    Disconnect your Spotify account.

    ```text Prefix syntax theme={null}
    ,spotify logout
    ```

    ### spotify device

    Transfer Spotify playback to another device.

    ```text Prefix syntax theme={null}
    ,spotify device
    ```

    ### spotify vc

    Play your current Spotify track in your Discord voice channel.

    ```text Prefix syntax theme={null}
    ,spotify vc
    ```

    ### spotify like

    Save your current Spotify track.

    ```text Prefix syntax theme={null}
    ,spotify like
    ```

    ### spotify unlike

    Remove your current Spotify track from your library.

    ```text Prefix syntax theme={null}
    ,spotify unlike
    ```

    ### spotify artists

    View your top Spotify artists.

    ```text Prefix syntax theme={null}
    ,spotify artists <timeframe>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `timeframe` | Yes | 1m, 6m, or 1y Choices: `1m`, `6m`, `1y`. |

    ### spotify tracks

    View your top Spotify tracks.

    ```text Prefix syntax theme={null}
    ,spotify tracks <timeframe>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `timeframe` | Yes | 1m, 6m, or 1y Choices: `1m`, `6m`, `1y`. |
  </Accordion>

  <Accordion title=",spotifyalbum" icon="terminal">
    Search Spotify for an album.

    ### spotifyalbum

    Search Spotify for an album.

    ```text Prefix syntax theme={null}
    ,spotifyalbum <album>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `album` | Yes | Album title and optional artist. |
  </Accordion>

  <Accordion title=",spotifytrack" icon="terminal">
    Search Spotify for a track.

    ### spotifytrack

    Search Spotify for a track.

    ```text Prefix syntax theme={null}
    ,spotifytrack <track>
    ```

    | Parameter | Required | Description |
    | - | - | - |
    | `track` | Yes | Track title and optional artist. |
  </Accordion>
</AccordionGroup>


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