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

# Spotify and Last.fm

> Bring your own music: play your Liked Songs, show what you're listening to, and compare taste with friends.

Linking your accounts lets cure use your own music. Links are personal: they follow you to every server, and only you can use them.

## Link your accounts

`/music spotify link` or `/music fm link`. cure DMs you a sign-in button (so nobody else can press it). Sign in, and you're done. Unlink any time with `unlink`, or on your [Me page](https://docs.curebot.site/you/me-page.md).

## Spotify

| Run | What happens |
| - | - |
| `/music spotify now` | What you're playing on Spotify, with a **Play it here** button that queues it in your voice channel. Add `user:` to see someone else's. |
| `/music spotify liked` | Queues your newest Liked Songs (100, or 500 for [donators](https://docs.curebot.site/start/perks.md)). Add `shuffle:True` to pick from across your whole library. |
| `/music spotify playlists` | Pick one of your playlists from a menu, and it's queued |
| `/music spotify top kind:artists range:half` | Your most played tracks or artists over the last month, 6 months or year |
| `/music spotify blend user:@friend` | How much your taste overlaps: a score and the artists you share |

> [!NOTE]
>
> Spotify only shares song details, not the audio. cure finds each song on another source to play it, so the occasional song may not be found.

## Last.fm

| Run | What happens |
| - | - |
| `/music fm now` | Your current or last song, how many times you've played it, and your total scrobbles |
| `/music fm top kind:artists period:month` | Your top 10 artists, tracks or albums for a week, month, 3 months, year or all time |
| `/music fm whoknows artist:Laufey` | Who in this server has played an artist the most. Leave it empty for what you're playing. |
| `/music fm taste user:@friend` | Your Last.fm taste overlap, from your all-time top artists |
| `/music fm scrobble on:True` | Songs cure plays in your voice channel scrobble to your Last.fm |

## Make it look like you

On your [Me page](https://docs.curebot.site/you/me-page.md#music), choose how your now playing looks for each service. The page shows a live preview of the real message as you change it.

> [tab] Card
>
> ![](https://docs.curebot.site/images/showcase-member.png)
>
> in the poolToday at 4:12 PM
>
> ,fm
>
> ![](https://docs.curebot.site/images/cure-avatar.jpg)
>
> cureAPPToday at 4:12 PM
>
> 🎧 Now playing for in the pool
>
> Bewitched
>
> **Laufey** from *Bewitched*
>
> ***
>
> 42 plays of this song, 8,190 scrobbles in total
>
> ![](https://docs.curebot.site/images/cure-avatar.jpg)

> [tab] Compact
>
> ![](https://docs.curebot.site/images/showcase-member.png)
>
> in the poolToday at 4:12 PM
>
> ,fm
>
> ![](https://docs.curebot.site/images/cure-avatar.jpg)
>
> cureAPPToday at 4:12 PM
>
> 🎧 Bewitched by **Laufey**
>
> Now playing for in the pool

> [tab] Your text
>
> Write it yourself. Type `{` in the box to pick a variable: `{track}`, `{artist}`, `{album}`, `{user}`, and more below. Server variables like `{user.mention}` work too.
>
> ![](https://docs.curebot.site/images/showcase-member.png)
>
> in the poolToday at 4:12 PM
>
> ,vibe
>
> ![](https://docs.curebot.site/images/cure-avatar.jpg)
>
> cureAPPToday at 4:12 PM
>
> in the pool is vibing to **Bewitched** by Laufey

### Variables

| Variable | What it shows |
| - | - |
| `{user}` | Your name |
| `{track}`, `{track.url}`, `{track.duration}` | The song, its link and length |
| `{artist}`, `{artist.url}` | The artist and their page |
| `{album}`, `{album.url}`, `{cover}` | The album, its page and cover art |
| `{status}`, `{nowplaying}` | "Now playing" or "Last played", and yes or no |
| `{source}`, `{source.icon}` | Spotify or Last.fm, and its icon |

Last.fm adds `{plays}`, `{scrobbles}`, `{track.listeners}`, `{track.playcount}`, `{track.loved}`, `{track.tags}`, `{artist.plays}`, `{artist.listeners}`, `{album.plays}`, `{previous.track}`, `{previous.artist}`, `{lastfm.username}`, `{lastfm.url}`, `{lastfm.artists}` and `{lastfm.registered}`.

Spotify adds `{track.progress}`, `{track.explicit}`, `{track.popularity}`, `{track.number}`, `{album.release_date}`, `{album.year}`, `{album.type}`, `{album.tracks}`, `{artists}`, `{spotify.username}`, `{spotify.url}`, `{spotify.device}`, `{spotify.device_type}`, `{spotify.volume}`, `{spotify.shuffle}` and `{spotify.repeat}`. Device, volume, shuffle and repeat are only filled in while you're listening.

### Scripts

Start "Your text" with `{embed}` or `{components}` and it becomes a whole message, in the same [script language](https://docs.curebot.site/studio/scripts.md) as `/embed`. For example, a card with the cover art:

```text theme={null}
{components}$v{container}$v{text:### {track}
{artist} on *{album}*}$v{media:{cover}}$v{text:-# {status} for {user}}$v{/container}
```

If a script has a mistake, everyone else sees the normal card and you get a note saying what to fix.

You can also:

* Add up to **three reactions** cure puts on it. Pick server emojis from the servers you share with cure: cure can only react with an emoji from a server it's in, and the page tells you if one won't work.
* Add up to three **words of your own** that run now playing, like `,vibe`. They only work for you.
* Turn off the **Play it here** button under your Spotify now playing.


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