Package Exports
- discord.js-vibes
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord.js-vibes) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Support server
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");