how to make a discord music bot code example

Example 1: discord.js music

//type npm install discord-misic-system --save
//type npm install discord.js --save
//type node .
//see your music bot is ready :] enjoy I LOVE MY INDIA


const MusicBot = require("discord-music-system"); // Require the module
 
const bot = new MusicBot({ // Create the bot
    token: ("type you bot token here"), // You can find the token at https://discord.com/developers/applications/
    ytApiKey: ("Your Youtube api here"), // Video to explain how to get it: https://www.youtube.com/watch?v=VqML5F8hcRQ
    prefix: 'in$', // Example: /
    game: 'sanikava `in$`' // Example: /help
});
 
bot.run(); // Run the bot

Example 2: how make a music bot

go here https://github.com/WeebDev/Commando/tree/master/commands/music

Example 3: how to make a discord bot

//discord.js is probably the easiest to learn. To install do this
//in command prompt (Windows, Linux) or terminal (Mac)

npm init
//and then
npm i discord.js

//after that just read the discord.js.org documentation
//and follow a couple yt guides, maybe join some servers.