now, np, fm. Pass a member to see theirs.
This is the command people actually use, so it’s worth making it look how you want. Everything on this page is per-user — your settings follow you into every server mira is in.
Embed styles
Alias:
style. !mode <style> is the standalone shortcut.
Custom embeds
Pass a script instead of a style name:!lastfm mode view, reset with !lastfm mode remove.
Reacting to what’s playing
Two variables are worth wrapping in a conditional rather than printing raw.{track.nowplaying} is True only while the track is actually playing, and {track.timestamp} is the unix time it was scrobbled. Printed on their own you get True and 1757894400, which isn’t much use — the point is to swap between now playing and when it was played:
{not:} is the same test inverted, which reads better when you only want the one branch — show the timestamp unless it’s playing right now:
{lastfm.artist_crown} and the per-object {track.crown} / {artist.crown} / {album.crown} are empty unless you hold it, so they’re truthy exactly when there’s something to show:
{track.has_image} guards artwork that might not exist:
All four together
All four together
Available variables
Four objects are available:{track}, {artist}, {album} and {lastfm}. Each one rendered on its own gives you its name, so {track} is the same as {track.name}.
Track
Track
Aliases:
{track.now_playing} and {track.is_now_playing} for nowplaying; {track.ts}, {track.played_at}, {track.played_timestamp} and {track.played_at_timestamp} for timestamp; {track.wkt}, {track.wktrack}, {track.whoknowstrack}, {track.whoknows_track}, {track.wk_pos} and {track.wk_position} for the rank.Artist
Artist
Aliases for the rank:
{artist.wk}, {artist.wk_pos}, {artist.wk_position}, {artist.whoknowsartist}, {artist.whoknows_artist_position}.Album
Album
Aliases for the rank:
{album.wka}, {album.wkalbum}, {album.whoknowsalbum}, {album.whoknows_album}, {album.wk_pos}, {album.wk_position}.Your profile
Your profile
Previous track
Previous track
{old_track} is whatever you played before the current one, and carries every property {track} does.{old_artist} and {old_album} are also available on their own. Each of the three has three aliases — swap old_ for previous_, prev_ or last_, so {prev_track}, {last_artist} and {previous_album} all work.On every name
{track}, {artist}, {album} and {lastfm} all accept three extra properties:
Server-wide styles
Vote reactions
reaction, reacts, react.
remove turns reactions off entirely; reset goes back to the defaults. The server variants require Manage Server.
Vote stats
Live updating
realtime, edit, rt.
Custom command
cmd, cc. Remove with !lastfm command remove.
Reskin — posting as yourself
Reskin sends mira’s replies through a webhook, so they appear under a name and avatar of your choosing rather than the bot’s. Pointed at Last.fm, it makes!fm look like you posting the track — with the album art as the avatar.
Avatar
Aliases:
icon, pfp, av.
Username
on gives you {artist}. Pass a template instead and you can use {artist}, {track}, {album} and the rest of the now playing variables.
!lastfm reskin on its own shows your current settings; !lastfm reskin remove clears them.
Featured album art
The bot’s server avatar can rotate through album art from members’ listening:!lastfm featured shows what’s currently featured; !lastfm featured history shows past picks.
Who’s listening right now
listeners, listening.