Melody is a feature-rich Discord music bot that allows you to play music in your Discord server using the discordpy library and WaveLink to interface with a local Lavalink server.
- High-quality music streaming from YouTube
- Playback controls such as play, pause, skip, etc.
- Queue management with the ability to add, remove, and shuffle tracks
- Music search with flexible query options
- Rich music-related commands
- And more!
To run the Melody bot, you need the following dependencies:
- Python 3.8+
- discord.py
- WaveLink
- Lavalink Server
- You will also need to get a Discord token by registering the bot on the Discord developer portal
Here are the available commands for Melody:
-
!play <song>
: Plays the specified song or adds it to the queue if music is already playing. -
!pause
: Pauses the current playback. -
!resume
: Resumes playback if paused. -
!skip
: Skips the current song and proceeds to the next one in the queue. -
!song
: Displays the current song playing. -
!queue
: Displays the current music queue. -
!shuffle
: Shuffles the songs in the queue. -
!clear
: Clears the player's queue. -
!remove <song>
: Removes the specified song from the queue if it is present. -
!volume <level>
: Adjusts the playback volume to the specified level. -
!disconnect
: Disconnects the player from the voice channel.
- Melody will be extended so that users can play Spotify tracks and playlists.