Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-player-music

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-player-music

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

  • 1.1.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
1
Weekly downloads
 
Created
Source

Welcome to the 'discord-player-music' page!


DPM Main Image


Support Server NPM downloads NPM page

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

♥ Thanks for using Discord Player Music ♥

Keywords

FAQs

Package last updated on 28 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc