.fmbot: Discord’s Music Statistics and Last.fm Bot

.fmbot is a social Discord bot designed for people who want to track, explore, and discuss their music listening habits with friends and other members of Discord communities.

The bot connects to Last.fm, using Last.fm’s music data and listening history to turn personal listening statistics into interactive Discord experiences. Users can see their latest plays, analyze their most-listened artists and tracks, generate charts, compare music tastes with other people, discover what their friends are listening to, and participate in music-related games.

Unlike a conventional Discord music bot that primarily plays songs in voice channels, .fmbot is focused on music statistics and social interaction. It helps users understand their listening history rather than simply providing audio playback.

The project describes itself as a social Discord bot providing music statistics for users, their friends, and server members. Its open-source repository is maintained through the fmbot-discord organization on GitHub.

How .fmbot Works With Last.fm

Last.fm is central to the way .fmbot operates.

Users connect their Last.fm account to .fmbot using the login command. Once connected, the bot can use their Last.fm listening history to generate statistics and personalized responses.

This means .fmbot does not independently create a user’s listening history. Instead, it uses Last.fm’s scrobbling ecosystem as the underlying source of music-listening information. The official documentation also makes clear that .fmbot is not affiliated with Last.fm and simply uses its API.

Users who do not already have a Last.fm account can create one and then connect it to the bot.

This integration allows .fmbot to transform data that might otherwise remain on a Last.fm profile into interactive Discord commands.

Getting Started With .fmbot

Getting started generally involves three steps.

First, a user adds .fmbot to a Discord server or adds it directly to their Discord account.

Second, the user connects their Last.fm account using .login or /login.

Third, they can begin using commands such as .fm or /fm to display their current or recent listening activity.

The bot supports both traditional text commands and Discord slash commands.

Text commands use the familiar dot-based format, while slash commands can be selected through Discord’s command interface. Slash commands can also be used in direct messages and group chats when .fmbot is added as a user app.

Recent Listening Activity

One of the simplest uses of .fmbot is displaying what a user has recently listened to.

The .fm command shows a user’s latest one or two scrobbles and can display the information in different formats. Users can also request another person’s recent activity where appropriate.

This makes the command useful for casual music sharing.

For example, instead of telling friends what song they are currently listening to, a user can let .fmbot automatically display the track, artist, and related information in a Discord channel.

The result is similar to a lightweight social music status.

Music Charts and Statistics

Statistics are one of .fmbot’s most important features.

The bot can generate charts based on a user’s listening history and provide rankings for artists, albums, and tracks. Users can examine their listening patterns across different periods, including weekly, monthly, quarterly, yearly, and all-time views.

For example, users can see their:

  • Most-played artists
  • Most-played albums
  • Most-played tracks
  • Recent listening activity
  • Listening history over selected periods
  • Overall music statistics

The bot can also generate visual charts, making listening history easier to understand at a glance.

This transforms raw scrobbling data into something closer to a personalized music dashboard.

Artist Information

.fmbot includes commands for exploring artists.

The .artist or .a command can provide information about an artist a user is currently listening to or an artist they specifically search for.

Users can also explore their own listening history for particular artists.

The .artisttracks command, for example, can show a user’s top tracks from a selected artist over a particular time period.

This makes the bot useful not only for tracking listening quantity but also for exploring how a user’s relationship with an artist changes over time.

Track Information

.fmbot also provides detailed commands for individual songs.

The .track command retrieves information about the current track or a searched track. Users can search using the bot’s Last.fm search functionality or separate the artist and track title.

The .trackplays command shows how many times a user has played a particular track, with options for different time periods.

There is also a .trackdetails command for retrieving track metadata.

Together, these commands make it possible to move from a broad listening overview to a very specific song-level analysis.

Social Music Discovery

The social component is what distinguishes .fmbot from a simple statistics tool.

Users can find other people in their Discord server who listen to the same artists, albums, or tracks.

The WhoKnows commands are designed specifically for this purpose. A user can check who in a server listens to a particular artist and see how their listening compares with other members.

This can turn music statistics into a form of friendly competition.

For example, members of a Discord server might compete to become the person with the most plays for a particular artist.

Crowns and Leaderboards

.fmbot adds another layer of competition through its crowns system.

Users can earn crowns by being the number-one listener of an artist within their Discord server. They can then build a collection of these crowns and compete on crown leaderboards.

The feature gives users an incentive to continue interacting with the bot and tracking their favorite artists.

Instead of simply displaying statistics, .fmbot turns listening activity into a social game.

Comparing Music Taste

Another feature is music-taste comparison.

The .affinity command can identify users within a server who have similar music tastes. The calculation uses listening information such as all-time and recent top artists.

This can be particularly useful in larger communities.

Someone who joins a Discord server may not know who shares their musical interests. By comparing listening histories, .fmbot can help identify people with overlapping tastes.

Music therefore becomes a way of discovering new social connections.

Friends and Listening Activity

.fmbot also includes a dedicated friends system.

Users can add other .fmbot users to their friends list and view their latest scrobbles. Friends can be selected using Discord mentions, Discord IDs, or Last.fm usernames.

This creates a personalized music feed inside Discord.

Instead of checking several Last.fm profiles individually, users can use .fmbot to see what people they follow have recently been listening to.

The feature reinforces the bot’s broader objective of making music listening a shared social activity.

Discovering Music Through Servers

.fmbot can also show what music is trending within a Discord server.

Server-level commands can display popular artists, albums, and tracks for different periods.

This can turn a Discord community into a small music-discovery environment.

For example, if several members are listening to the same artist, another member might discover that artist through the server’s statistics.

In this way, .fmbot uses collective listening behavior as a recommendation mechanism.

Global Music Statistics

The bot goes beyond individual Discord servers through global WhoKnows features.

Global commands can search across registered .fmbot users to identify listeners of an artist, album, or track.

There are limitations and filtering mechanisms. The documentation notes that certain users may be excluded from global results for reasons such as manipulated play counts or sleep scrobbling.

The purpose of the global system is to provide a much broader view of listening communities beyond a single Discord server.

Music Games

Music is not limited to statistics within .fmbot.

The bot also includes interactive games such as Pixel and Jumble, which allow users to play music-related guessing games with friends.

These features give Discord communities something more casual to do with their listening data.

Instead of simply comparing numbers, members can turn music knowledge and recognition into games.

Charts, Receipts, and Icebergs

.fmbot also includes several creative ways to visualize or present music preferences.

The bot can generate receipts based on listening activity and create iceberg graphics based on artist popularity.

These features are particularly suited to social sharing because the results can present a user’s music taste in a visually recognizable format.

They also turn otherwise statistical information into something that feels more personal and entertaining.

Streaming Service Integrations

Although Last.fm is at the center of .fmbot’s statistics system, the bot also connects with several other music services.

Its official feature list includes direct links for platforms such as Spotify, Apple Music, and YouTube.

Users can also use .fmbot to control Spotify playback through commands for queuing, skipping, pausing, and liking songs.

The bot therefore occupies a position between music statistics and broader streaming-service interaction.

Spotify and Music Control

The Spotify integration gives .fmbot functionality beyond passive listening analysis.

Commands such as .remote, .queue, and .skip can be used for Spotify playback control.

This can be useful in Discord communities where users already use Discord as a central place for social interaction while Spotify provides the actual music service.

The result is a more integrated experience between music streaming and Discord.

Lyrics and Music Information

.fmbot can also provide access to lyrics through its lyrics-related commands.

The official feature list includes lyrics functionality alongside Genius integration.

This means users can move from discovering or identifying a track to exploring information about the song without necessarily leaving Discord.

Importing Music History

For users who have accumulated listening histories elsewhere, .fmbot provides an import feature.

The official documentation lists support for importing full Spotify or Apple Music listening histories.

This can be useful for users who want a more complete statistical profile rather than starting from the moment they first connect their account.

According to the documentation, importing histories requires an active supporter subscription.

Featured Users

Another unusual social feature is the bot’s Featured system.

The bot can randomly select a user who has recently used .fmbot and feature them. The selected user’s album cover can become the bot’s profile picture for an hour.

This turns individual listening behavior into a community-wide event.

Users can also view featured history through the .featuredlog command.

Server Customization

Discord server administrators can customize aspects of .fmbot’s behavior.

For example, server administrators can enable or disable commands by channel, disable the bot in particular channels, and change the bot’s command prefix.

This is useful for communities that want to control where music-statistics commands can be used.

The bot also supports additional premium server features and server-wide shortcuts.

Privacy and Data Management

Because .fmbot handles listening statistics and account information, privacy is an important consideration.

The service states that users can delete their .fmbot account and associated data through the /remove command. Removing the bot from a server also results in the deletion of associated server data, according to its privacy documentation.

The bot’s infrastructure is hosted on Hetzner servers in Finland, with data stored in a PostgreSQL database. Its privacy policy also states that .fmbot data is not shared with third-party services unless explicitly specified.

Users should nevertheless understand that connecting Last.fm and other integrations means their music-related information becomes part of the services involved.

Open-Source Development

.fmbot is also notable because its code is publicly available.

The project’s GitHub repository describes it as a source-available Last.fm Discord bot, while the fmbot-discord organization maintains public repositories associated with the project.

The repository includes the bot’s development infrastructure and integrations, including Last.fm, Apple Music, Discogs, subscription functionality, and other components.

This provides transparency into the project’s development and allows contributors to participate in its evolution.

The Scale of .fmbot

.fmbot has grown well beyond a small personal Discord bot.

Its official website currently reports more than 800,000 Discord servers, over 1.6 million registered users, and more than 600,000 commands used daily.

These figures demonstrate the scale of interest in social music statistics on Discord.

The bot’s popularity also reflects the continuing appeal of Last.fm-style listening data, particularly when that data is turned into something social and interactive.

Conclusion

.fmbot is a Discord bot built around the idea that music statistics can become a social experience.

By connecting with Last.fm, it allows users to display recent listening activity, analyze their top artists, albums, and tracks, generate charts, explore music information, compare listening habits, discover people with similar tastes, and compete through features such as WhoKnows and crowns.

Its functionality extends beyond statistics through Spotify controls, music games, lyrics, friends lists, global rankings, featured users, streaming links, and integrations with other music services.

The result is more than a conventional Discord bot for music. .fmbot turns personal listening history into a community activity, allowing Discord users to share their tastes, discover music through friends, compete over favorite artists, and explore their own listening habits in increasingly visual and interactive ways.