1//type npm install discord-misic-system --save
2//type npm install discord.js --save
3//type node .
4//see your music bot is ready :] enjoy I LOVE MY INDIA
5
6
7const MusicBot = require("discord-music-system"); // Require the module
8
9const bot = new MusicBot({ // Create the bot
10 token: ("type you bot token here"), // You can find the token at https://discord.com/developers/applications/
11 ytApiKey: ("Your Youtube api here"), // Video to explain how to get it: https://www.youtube.com/watch?v=VqML5F8hcRQ
12 prefix: 'in$', // Example: /
13 game: 'sanikava `in$`' // Example: /help
14});
15
16bot.run(); // Run the bot
17
18
19
1server.dispatcher = connection.play(ytdl(server.queue[0], {filter: "audioonly"}));
2