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

# Last.fm

> Lucie's fm commands: what's playing, your top charts, who listens to each artist, and privacy.

With `!fm` Lucie shows you what you listen to on **Last.fm**: what's playing now, your top charts and numbers, and who in the server listens to the same things as you. It's **free** and open in every server.

> [!NOTE]
>
> `fm` is used with the prefix only (`!` by default; an administrator can change it with `!setprefix`). There is no slash command for it. It only works inside servers, not in direct messages or inside a ticket channel.

## Link your account

1. Type `!fm login`. Lucie replies with an **Open the dashboard** button.
2. Sign in with Discord if asked: it takes you straight to Last.fm.
3. Accept the permission for Lucie and you land back on **My music** with your account linked.

You never type your username or password: the link is made by authorizing on Last.fm. Until you link, personal commands ask you to do it.

## Commands

Type `!fm` and the subcommand. With no subcommand, `!fm` shows what's playing (also with `@user`). Aliases are in `!help fm`.

### Your music

| Command | What it does | Example |
| - | - | - |
| `fm` (`np`) | What's playing, or the last thing you listened to | `!fm @user` |
| `plays` (`p`) | Your plays in a period | `!fm plays weekly` |
| `artistplays` · `albumplays` · `trackplays` | How many times you played an artist, album or track | `!fm albumplays Artist \| Album` |
| `recent` (`r`) | Your latest plays | `!fm recent` |
| `overview` (`o`) | What you played most in the last 1-8 days | `!fm overview 6` |
| `year` · `recap` | Summary of a year or a period | `!fm recap quarterly` |
| `lyrics` (`lr`) | Lyrics of what's playing or what you search for | `!fm lyrics` |
| `recuerdos` (`memories`) | What you were listening to around this date in past years | `!fm recuerdos` |

### Top charts and covers

| Command | What it does | Example |
| - | - | - |
| `topartists` (`ta`) | Your most played artists | `!fm topartists monthly` |
| `toptracks` (`tt`) | Your most played tracks | `!fm toptracks alltime` |
| `chart` (`c`) | Collage of covers, 3x3, 4x4 or 5x5 | `!fm chart 4x4 yearly` |

Periods: `weekly`, `monthly`, `quarterly`, `half`, `yearly` and `alltime`. Default: the last week (`plays` defaults to all time).

### In this server and among everyone

| Command | What it does | Example |
| - | - | - |
| `whoknows` (`wk`) | Who in the server listens to an artist | `!fm whoknows` |
| `whoknowsalbum` · `whoknowstrack` | The same for an album or a track | `!fm whoknowstrack` |
| `taste` (`t`) | Which artists you share with someone else | `!fm taste @user` |
| `affinity` (`aff`) | Who in the server is most like you | `!fm affinity` |
| `globalwhoknows` (`gwk`) | Ranking among everyone on Lucie, without names | `!fm globalwhoknows` |
| `global` | What the people who use Lucie listen to most | `!fm global artistas` |

With no artist, `whoknows` uses what's playing.

## Privacy

In **My music** → **Privacy** you control three switches:

| Switch | What it does |
| - | - |
| **My music is visible** | On by default. Anyone who shares a server with you can see what you listen to and compare with you, and you count, without your name, in global rankings. Off, they can't see you and you don't count. |
| **Appear with my name in global rankings** | Off by default. Global rankings are anonymous; if you turn it on, your Discord username shows. |
| **Show hidden scrobbles** | Off by default. If you hid your scrobbles on Last.fm, Lucie won't show them unless you turn this on. |

## Good to know

* Lucie stores your Last.fm username, your settings and a copy of your top 500 artists, 200 albums and 200 tracks (deleted after 90 days without using `fm`). Never your password.
* To delete everything, use **Delete everything** in **My music**. The permission on Last.fm is removed separately, at `last.fm/settings/applications`.

***

Questions about fm? Stop by the [support server](https://discord.gg/VqyAZJ2mFc) or manage your account from the [web dashboard](https://lucie.elxy.dev).


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