2.0.1 • Published 4 years ago
synz-music-system v2.0.1
🎵 Discord-Music-System
🔩 Installation
$ npm install synz-music-system@latest💻 Code example
const Discord = require('discord.js'); // Require discord.js
const client = new Discord.Client(); // Create the bot client.
const { MusicBot } = require('discord-music-system'); // Require the best package ever created on NPM (= require discord-music-system)
client.musicBot = new MusicBot(client, {
ytApiKey: 'YouTube API key',
prefix: '!', // Your bot prefix
language: 'en' // fr, en, es, pt
});
client.on('message', async message => {
if(message.author.bot) {
return;
};
client.musicBot.onMessage(message);
});
client.login('Your Discord bot token'); // Login with your bot token. You can find the token at https://discord.com/developers/applications/🤖 Commands
PLAY
pplay,add,join- +
<search string | video URL | playlist URL>
STOP
stopkilldestroyleave
NOW PLAYING
npnowplayingcurrent
SKIP
sskipnext>>
QUEUE
qqueuelistshow
VOLUME
volumesetvolume- +
<valid number beetween 0 and 100>
PAUSE
pause
RESUME
resume
REMOVE
removedelete- +
<valid number of a song position in the queue>
LYRICS
lyrics- +
<song title> || or no args if a song is playing
🖼 Gif example
🚀 Other
This package is under MIT license.
Note: This package is not affiliated with Discord or YouTube.
If you have any problems, you can contact: Synz#3471.
Discord server: Server Link

