Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Musicbot | 4,271 | 20 hours ago | 190 | apache-2.0 | Java | |||||
🎶 A Discord music bot that's easy to set up and run yourself! | ||||||||||
Evobot | 1,683 | 13 hours ago | 22 | mit | TypeScript | |||||
🤖 EvoBot is a Discord Music Bot built with TypeScript + Discord.js, includes Docker builds & localization in 20+ languages | ||||||||||
Lavamusic | 445 | a month ago | 2 | gpl-3.0 | TypeScript | |||||
lavalink music bot base in shoukaku and discord.js v14 | ||||||||||
Distube | 372 | 16 | a month ago | 187 | September 23, 2022 | 1 | mit | TypeScript | ||
A Discord.js module to simplify your music commands and play songs with audio filters on Discord without any API key. | ||||||||||
Aiode | 257 | a month ago | 24 | apache-2.0 | Java | |||||
Discord bot that plays Spotify tracks and YouTube videos or any URL including Soundcloud links and Twitch streams | ||||||||||
Eartensifier | 191 | 3 months ago | 24 | gpl-3.0 | JavaScript | |||||
Powerful Discord entertainment bot in over 280,000 servers. | ||||||||||
Discord.js Musicbot Addon | 110 | 883 | 4 | a year ago | 89 | January 24, 2020 | 9 | isc | JavaScript | |
This DOES NOT WORK any more. This repo only serves as an archive for is anyone wants to pickup my work. You may still join the discord however. | ||||||||||
Modbot | 109 | 2 months ago | mit | JavaScript | ||||||
An open source moderation bot with advanced features developed by Aternos. | ||||||||||
Devevilbot Discord Bot | 99 | 8 months ago | mit | JavaScript | ||||||
DevEvilBot is a multifunctional bot that simplifies server management, Created by DevEvil#8745, Also features Games , Fun , NSFW, Anti Raid, Music, Leveling System and much more with over 229 commands | ||||||||||
Itz Dj | 86 | a month ago | 5 | mit | JavaScript | |||||
🎵 A Discord music bot thats easy to set up and run yourself coded in Discord.js v14 which supports all kinds of links (YouTube, Spotify, SoundCloud, Deezer and 900+ more) with many features! |
Lavamusic is a Discord music bot that uses Discord.js, Shoukaku, Prisma Client (ORM) database (MongoDB), and TypeScript.
Invite Lavamusic
<a href="https://github.com/brblacky/lavamusic/issues">Report Bug & Request Feature</a>
Default Sources:
Plugin Sources: (Require: LavaLink v3.6.x)
Note: You need to install the plugins to use these sources
#support
channelName | Description | Options |
---|---|---|
prefix |
Shows the bot's prefix | |
help |
Shows the help menu |
command : The command you want to get info |
on | ||
info |
Shows information about the bot | |
invite |
Sends the bot's invite link | |
ping |
Shows the bot's ping | |
clearqueue |
Clears the queue | |
join |
Joins the voice channel | |
leave |
Leaves the voice channel | |
nowplaying |
Shows the currently playing song | |
play |
Plays a song from YouTube or Spotify |
song : The song you want to play |
pause |
Pauses the current song | |
queue |
Shows the current queue | |
remove |
Removes a song from the queue |
song : The song number |
resume |
Resumes the current song | |
seek |
Seeks to a certain time in the song | |
shuffle |
Shuffles the queue | |
skip |
Skips the current song | |
skipto |
Skips to a specific song in the queue | |
stop |
Stops the music and clears the queue | |
volume |
Sets the volume of the player |
number : The volume you want to set |
Before starting with the installation, you need to have the following:
git clone https://github.com/brblacky/lavamusic.git
cd lavamusic
npm i
Create a .env
file in the root directory of your project with the following variables:
TOKEN="." # Your bot token
PREFIX="!" # Your prefix
OWNER_IDS="859640640640640640, 859640640640640640" # Your ID
CLIENT_ID="960072976412340254" # Your bot client ID
GUILD_ID="859640640640640640" # Your server ID (if you want to use it for a single server)
PRODUCTION="true" # "true" for production
DATABASE_URL="mongodb+srv://Blacky:xxxxxxxxxxxx" # Your MongoDB URL
LAVALINK_URL="lava.moebot.xyz:443" # Your lavalink url
LAVALINK_AUTH="youshallnotpass" # Your lavalink password
LAVALINK_NAME="Blacky" # Your lavalink name
LAVALINK_SECURE= "true" # true for secure lavalink
BOT_ACTIVITY_TYPE=0 # Activity type is a number from 0 to 5 see more here https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types
If you using replit than read this:
go to prisma/schema.prisma and add engine type like this or remove //
behind the engineType
generator client {
provider = "prisma-client-js"
engineType = "binary"
}
and then run this command
npx prisma generate
npm run start or npm start
Generate an invite link for your bot and invite it to your server using the Discord Developer Portal or using permissions calculator: https://discordapi.com/permissions.html
This section assumes you have Docker and Docker Compose installed and running correctly.
Download the docker-compose.yml file in a seperate folder like lavamusic.
Edit docker-compose.yml and make sure to set the following variables:
TOKEN="." # Your bot token and remember, don't show everyone your bot token
PREFIX="!" # Your prefix
OWNER_IDS="859640640640640640, 859640640640640640" # Your ID
CLIENT_ID="960072976412340254" # Your bot client ID
GUILD_ID="859640640640640640" # Your server ID (if you want to use it for a single server)
PRODUCTION="true" # "true" for production
For more information how to fill all the variables go to this page. You do not need to edit anything like the LAVA_LINK_URL, LAVA_LINK_AUTH, LAVA_LINK_NAME, LAVA_LINK_SECURE, DATABASE_URL, and the ports unless you know what you're doing.
After saving your changes you can open a terminal and go to the same location as the docker-compose.yml file. Then run the following:
docker-compose up -d
The above command will start all your services and your bot should be up and running!
To update, you only have to type the following:
docker-compose up --force-recreate --build -d
image prune -f
You can automate this by using Watchtower. The following should be sufficient:
docker run --detach \
--name watchtower \
--volume /var/run/docker.sock:/var/run/docker.sock \
--restart on-failure \
containrrr/watchtower --cleanup
Do note that the bot will restart itself to update to the latest!
A Tutorial has been uploaded on YouTube, Watch it by clicking here
Thank you for your interest in contributing to Lavamusic! Here are some guidelines to follow when contributing:
Your contribution will be reviewed by the project maintainers, and any necessary feedback or changes will be discussed with you. We appreciate your help in making Lavamusic better!
Distributed under the Apache-2.0 license License. See for more information.
Do you like this project? Support it by donating
Thanks goes to these wonderful people :