About
Discord Player Music is a powerful Node.js music module for your Discord.js bot that based on Promises and has a lot of features.
- 👍 Simple & easy to use
- 😄 Beginner friendly
- 🎸 Audio filters
- 📌 Guilds Playlists
- 📃 Lyrics
- 📂 Multiple servers
Installation
Node.js 16.9.0 or newer is required.
$ npm install discord-player-music
$ yarn add discord-player-music
$ pnpm add discord-player-music
Example Usage
const { Client, GatewayIntentBits, Partials } = require('discord.js');
const { Player } = require('discord-player-music');
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildVoiceStates
],
partials: [
Partials.Channel,
Partials.GuildMember,
Partials.Message,
Partials.Reaction,
Partials.User
]
});
client.player = new Player(client);
client.on('ready', async () => {
return console.log('Client is ready!');
})
client.player.on('ready', async () => {
return console.log('Player is ready!');
})
client.login('YOUR_CLIENT_TOKEN_HERE');
Links
-
NPM: Open
-
GitHub: Open
-
Examples: See
-
Documentation: Open
-
Module Developer: xyligan
-
Developer Discord: ♡ xүℓ[ι]gαη4εg ♡#9457
-
Support Server: Join xyligan development