discord.js-vibes

A discord.js musicbot add-on

Usage no npm install needed!

<script type="module">
  import discordJsVibes from 'https://cdn.skypack.dev/discord.js-vibes';
</script>

README

Support server

Discord Vibes

Commands

play {Search String} | Plays the song selected.

pause | Pauses the playing song.

resume | Resumes the paused song.

leave | Leaves the channel the bot is on.

skip | Skips the playing song.

queue | Shows you all songs in the queue.

repeat | Enables or disables song repeat.

volume {Number || current} | Shows you the current volume or changes the volume depending on what you type.

Basic Example

const Discord = require("discord.js");
const Music = require("discord.js-vibes");

let bot = new Discord.Client();

Music.start(bot, {
    youtubeAPIKey: 'YOUTUBE_API_KEY'
  });

bot.login("BOT_TOKEN");

Full Example

const Discord = require("discord.js");
const Music = require("discord.js-vibes");

let bot = new Discord.Client();

Music.start(bot, {
    youtubeAPIKey: 'YOUTUBE_API_KEY',
    botPrefix: 'BOT_PREFIX', //Default is '!'
    embedColor: 'EMBED_COLOR', //Use a HTML color code
    maxVolume: 200, //Default 200 
    botLogging: true, //Set this to false if you don't want console logging.
    /*commandNameHereInLowerCase*/Alias: "ALIAS" //Add an alternative command name 
  });

bot.login("BOT_TOKEN");