Skip to content

h00z3x/Lost-Music-V2

Repository files navigation


Logo

Lost Island Music V2

An edited version of LavaMusic.

Report Bug . Request Feature

Downloads Contributors Forks Stargazers Issues

Table Of Contents

About The Project

Lost Island Server Music Bot Source. An edited version of LavaMusic.

Why Lost Music:

  1. Fixed playlist on lavamusic.
  2. Changed the mongodb to sqlite for easier use.
  3. Added lyrics command.

Getting Started

You need node.js preferably latest version if it doesn't work!

Prerequisites

  • npm
npm install npm@latest -g

Installation

  1. Clone the repo
git clone https://github.com/h00z3x/Lost-Music-V2.git
  1. Install NPM packages
npm install
  1. 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=""
  1. 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!!!!"
}
  1. Generate Prisma
npx prisma generate

6.Generate Database

npx prisma migrate dev

Usage

Run:

node index.js

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

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.

Authors

  • h00z3x - Developer - h00z3x - Lyrics, Database, Fix Playlist
  • brblacky - The Person I respect - brblacky - almost everything in typescript

CopyRight

Most of the codes: