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
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'
prefix: 'BOT_PREFIX' //Default if '!'
embedColor: 'EMBED_COLOR' //Use a HTML color code
});
bot.login("BOT_TOKEN");