Skip to content

Discord music bot

Melodius for Discord

The Melodius music bot: your playlists and stats, in any voice channel.

Role
Developer
Status
Live
Platforms
Discord
Built with
Python, discord.py, lavalink.py
Melodius listening stats, which plays through the Discord bot feed into
Melodius listening stats, which plays through the Discord bot feed into

Overview

A Discord music bot linked to Melodius accounts. It plays your Melodius playlists and Liked Songs, and songs heard in voice count toward your Melodius history and stats.

What it does

Melodius account linking

Anyone who signed in to Melodius with Discord, or connected Discord for Rich Presence, is recognised. No password or token is ever asked for.

Your library in voice

Play your Melodius playlists and Liked Songs. Songs you hear in a voice channel are recorded in your Melodius history and stats, and /melodius stats shows them in Discord.

Built on Components V2

Now-playing panels in several styles, from Classic with artwork and every control to a one-line Minimal view, in each listener's own color.

Everything a music bot needs

Links from Spotify, Apple Music, YouTube, SoundCloud and Deezer, audio filters such as nightcore and bass boost, saved playlists, 24/7 mode, and auto-pause when the voice channel empties.

How it's built

  1. 01

    Same audio stack as the app

    lavalink.py talks to the same self-hosted NodeLink nodes Melodius uses, so the bot and the apps resolve music the same way.

  2. 02

    Read-only by design

    The bot keeps its own data in its own PostgreSQL schema and reads Melodius through a role that cannot write.

  3. 03

    Grown from AstroZ

    It started from the AstroZ music bot codebase and now runs as a systemd service on a VPS, with premium tiers granted by the team or a Melodius subscription.

Stack

  • Python
  • discord.py
  • lavalink.py
  • NodeLink
  • PostgreSQL
  • asyncpg
  • systemd