- ✅ Setup System
- ✅ Music
- ✅ 24/7
- ✅ DJ Roles
- ✅ Custom Playlist (global)
- ✅ Slash Commands
- ✅ Custom prefix
- ✅ Filters
- ✅ Easy to use
- Nodejs v18 and more
- Discord.js v14
- Java for lavalink
- Lavalink
Note: Java v11 or newer is required to run the Lavalink.jar. Java v13 is recommended. If you are using sdkman then its a manager, not Java, you have to install sdkman and use sdkman to install Java
Warning: Java v14 has issues with Lavalink.
- Discord bot's
token
You should know why you need this or you won't go to this repo
Get or create bot here - Mongodb
URI
for custom prefix
MongoDB - Your ID
for eval command. It's dangerous if eval accessible to everyone
- Spotify client ID
for spotify support
Click here to get - Spotify client Secret
for spotify support
Click here to get
- ✅ YouTube
- ✅ Bandcamp
- ✅ SoundCloud
- ✅ Twitch
- ✅ Vimeo
- ✅ http (you can use radio for it)
- ✅ Spotify
- ✅ Deezer
git clone https://github.com/txj-xyz/nadeshiko.git
After cloning, run
npm install
- Start the bot with
node src/sharder.js
to snag all of the dependencies. Of course, you need node installed. I also strongly recommend nodemon as it makes testing much easier.
When you are running the Code you must have gotten this Error. To fix this head over to your Bot's Discord Application and go to the Bot Settings and find this:
Then turn on both of those Settings and click "Save Changes". Then you are done and it should be fixed!- edit in
src/config.js
and you can do in.env
token: process.env.TOKEN || "", // your bot token
clientID: process.env.CLIENT_ID || "", // your bot client id
prefix: process.env.PREFIX || "!", // bot prefix
ownerID: process.env.OWNER_ID || "", //your discord id
SpotifyID: process.env.SPOTIFY_ID || "",
SpotifySecret: process.env.SPOTIFY_SECRET || "",
mongourl: process.env.MONGO_URL || "", // MongoDb URL
embedColor: process.env.EMBED_COLOR || 0x303236, // embed colour
logs: process.env.LOGS || "channel_id", // channel id for guild create and delete logs
errorLogsChannel: process.env.ERROR_LOGS_CHANNEL || "channel_id", //error logs channel id
SearchPlatform: process.env.SEARCH_PLATFORM || "youtube music", // Sets the Search Platform. Possibilities: youtube || youtube music || soundcloud
"host": "localhost",
"port": 2333,
"password": "coders",
"retryDelay": 3000,
"secure": false
- Create an application.yml file in your working directory and copy the example into the created file and edit it with your configuration.
- Run the jar file by running
java -jar Lavalink.jar
in a Terminal window.
- edit in
sharder.js
respawn: true,
autoSpawn: true,
token: token,
totalShards: 1,
shardList: "auto",