how to create music bot discord 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