![NPM](https://nodei.co/npm/discord-music-system.png)
![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)
🎵 Discord-Music-System
🔩 Installation
$ npm install discord-music-system@latest
💻 Code example
const Discord = require('discord.js');
const client = new Discord.Client();
const { MusicBot } = require('discord-music-system');
client.musicBot = new MusicBot(client, {
ytApiKey: 'YouTube API key',
prefix: '!',
language: 'en'
});
client.on('message', async message => {
if(message.author.bot) {
return;
};
client.musicBot.onMessage(message);
});
client.login('Your Discord bot token');
🤖 Commands
-
PLAY
play
,add
,join
- +
<search string | video URL | playlist URL>
-
STOP
-
NOW PLAYING
-
SKIP
-
QUEUE
-
VOLUME
volume
setvolume
- +
<valid number beetween 0 and 100>
-
PAUSE
-
RESUME
-
REMOVE
remove
delete
- +
<valid number of a song position in the queue>
-
LYRICS
lyrics
- +
<song title> || or no args if a song is playing
🖼 Gif example
![Foo](https://cdn.discordapp.com/attachments/718371361751302144/759098262480748605/Presentation.gif)
🚀 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: RemyK#3876
.
Discord server: Server Link
Made with ❤ by RemyK