An edited version of LavaMusic.
Report Bug
.
Request Feature
Lost Island Server Music Bot Source. An edited version of LavaMusic.
Why Lost Music:
- Fixed playlist on lavamusic.
- Changed the mongodb to sqlite for easier use.
- Added lyrics command.
You need node.js preferably latest version if it doesn't work!
- npm
npm install npm@latest -g
- Clone the repo
git clone https://github.com/h00z3x/Lost-Music-V2.git
- Install NPM packages
npm install
- Edit .ENV FILE
TOKEN="" # Your bot token
PREFIX="-" # Your prefix
OWNER_IDS="id, id, id" # Your ID
CLIENT_ID="clientid" # Your bot client ID
GUILD_ID="" # Your server ID (if you want to use it for a single server)
PRODUCTION="true" # "true" for production
DATABASE_URL="file:./database.db" #DONT CHANGE IT
LAVALINK_URL="" # Your lavalink url
LAVALINK_AUTH="1" # Your lavalink password
LAVALINK_NAME="" # Your lavalink name
LAVALINK_SECURE= "" # true for secure lavalink
BOT_ACTIVITY_TYPE=2 # Activity type is a number from 0 to 5 see more here https://discord.com/developers/docs/topics/gateway-events#activity-object-activity-types
BOT_STATUS="idle"
BOT_ACTIVITY="Lost Music"
GENIUS_KEY=""
- Add other lavalinks to
lavalinks.json
or remove them like so:
{
"list": [],
"note": "These are optional if you want you can remove them or add more just like i did. !!!!lavalink in .env has priority over these!!!!"
}
- Generate Prisma
npx prisma generate
6.Generate Database
npx prisma migrate dev
Run:
node index.js
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
- Please make sure you check your spelling and grammar.
- Create individual PR for each suggestion.
- Please also read through the Code Of Conduct before posting your first idea as well.
- h00z3x - Developer - h00z3x - Lyrics, Database, Fix Playlist
- brblacky - The Person I respect - brblacky - almost everything in typescript
Most of the codes: