JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q24706F
  • License MIT

A discord.js Musicbot module

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

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. loop | Enables or disables song repeat.

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");

Infomation

This module is my first. For getting options and queue i got some of the code from telk-music and discord.js-musicbot-addon. The rest of the code is from me.