# discord-player-music

> A powerful music module for your Discord bot with lots of features

Latest version **1.1.7** (published 2022-07-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install discord-player-music
pnpm add discord-player-music
yarn add discord-player-music
bun add discord-player-music
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.7 |
| Published | 2022-07-28 |
| First published | 2021-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=16.9.0 |
| Dependencies | 9 |
| Unpacked size | 142.4 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 5 |
| Author | xyligan |
| Maintainers | xyligan |
| Keywords | discord, discord-bot, sidcord-music, discord.js, discord-player, discord-player-music, ytdl-core, yt-search, xyligan |

## Links

- npm: https://www.npmjs.com/package/discord-player-music
- Repository: https://github.com/xyligan-gp/discord-player-music
- Homepage: https://dpm.js.org
- Issues: https://github.com/xyligan-gp/discord-player-music/issues
- npm.io page: https://npm.io/package/discord-player-music

## Dependencies (9)

- [yt-search](https://npm.io/package/yt-search.md) ^2.10.3
- [ytdl-core](https://npm.io/package/ytdl-core.md) ^4.11.0
- [discord.js](https://npm.io/package/discord.js.md) ^14.0.3
- [prism-media](https://npm.io/package/prism-media.md) ^1.3.4
- [ffmpeg-static](https://npm.io/package/ffmpeg-static.md) ^5.0.2
- [lyrics-finder](https://npm.io/package/lyrics-finder.md) ^21.7.0
- [@discordjs/opus](https://npm.io/package/@discordjs/opus.md) ^0.8.0
- [@discordjs/voice](https://npm.io/package/@discordjs/voice.md) ^0.11.0
- [libsodium-wrappers](https://npm.io/package/libsodium-wrappers.md) ^0.7.10

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.1.7 (latest) — 2022-07-28
- 1.1.8-dev.54a1215.1661430553 (dev) — 2022-08-25
- 1.1.8-dev.11g3215.1661287358 — 2022-08-23
- 1.1.8-dev.21f5649.1661286201 — 2022-08-23
- 1.1.7-dev-build.280722.1925 — 2022-07-28
- 1.1.7-dev-build.280722.1745 — 2022-07-28
- 1.1.7-dev-build.130322.1920 — 2022-03-13
- 1.1.7-dev-build160222.200 — 2022-02-16
- 1.1.6 — 2021-08-11
- 1.1.5 — 2021-08-08
- 1.1.5-dev-build080821.1515 — 2021-08-08
- 1.1.5-dev-build070821.1600 — 2021-08-07
- 1.1.5-dev-build060821.2030 — 2021-08-06
- 1.1.5-dev-build060821.2005 — 2021-08-06
- 1.1.5-dev-build040821.1630 — 2021-08-04
- … 14 more at https://npm.io/package/discord-player-music/versions

## README

<div align="center">
	<h1>Welcome to the 'discord-player-music' page!</h1>
	<br />
	<p>
		<a href="https://dpm.js.org"><img src="https://i.imgur.com/4Pk9WlS.gif" width="546" alt="DPM Main Image" /></a>
	</p>
	<br/>
	<p>
		<a href="https://discord.gg/zzbkvCcu2r"><img src="https://img.shields.io/discord/827221018879328298?color=5865F2&logo=discord&logoColor=white" alt="Support Server" /></a>
		<a href="https://www.npmjs.com/package/discord-player-music"><img src="https://img.shields.io/npm/dt/discord-player-music.png?maxAge=3600" alt="NPM downloads" /></a>
		<a href="https://www.npmjs.com/package/discord-player-music"><img src="https://img.shields.io/npm/v/discord-player-music.png?maxAge=3600" alt="NPM page" /></a>
	</p>
</div>

## About

**Discord Player Music is a powerful [Node.js](https://nodejs.org) 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.**

```sh-session
$ npm install discord-player-music
$ yarn add discord-player-music
$ pnpm add discord-player-music
```

## Example Usage

```js
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](https://www.npmjs.com/package/discord-player-music)
* GitHub: [Open](https://github.com/xyligan-gp/discord-player-music)
* Examples: [See](https://github.com/xyligan-gp/discord-player-music/tree/stable/examples)
* Documentation: [Open](https://dpm.js.org)

* Module Developer: [xyligan](https://github.com/xyligan-gp)
* Developer Discord: [♡ xүℓ[ι]gαη4εg ♡#9457](https://discord.com/users/533347075463577640)
* Support Server: [Join xyligan development](https://discord.gg/zzbkvCcu2r)

<center><h1>♥ Thanks for using Discord Player Music ♥</h1></center>

---
_Source: https://npm.io/package/discord-player-music · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
