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

discord-player

Package Overview
Dependencies
Maintainers
1
Versions
358
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-player - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

2

package.json
{
"name": "discord-player",
"version": "2.1.0",
"version": "2.2.0",
"description": "Complete framework to facilitate music commands using discord.js v12",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -39,3 +39,4 @@ const ytdl = require('discord-ytdl-core')

pulsator: 'apulsator=hz=1',
subboost: 'asubboost'
subboost: 'asubboost',
karaoke: 'stereotools=mlev=0.03'
}

@@ -234,5 +235,5 @@

* if(result.type === 'playlist'){
* message.channel.send(`${result.tracks.length} songs added to the queue ${emotes.music}\nCurrently playing **${result.tracks[0].name}**!`);
* message.channel.send(`${result.tracks.length} songs added to the queue!\nCurrently playing **${result.tracks[0].name}**...`);
* } else {
* message.channel.send(`Currently playing ${result.name} ${emotes.music}`);
* message.channel.send(`Currently playing ${result.name}...`);
* }

@@ -470,5 +471,5 @@ * }

* if(result.type === 'playlist'){
* message.channel.send(`${result.tracks.length} songs added to the queue ${emotes.music}`);
* message.channel.send(`${result.tracks.length} songs added to the queue!`);
* } else {
* message.channel.send(`${result.name} added to the queue ${emotes.music}`);
* message.channel.send(`${result.name} added to the queue!`);
* }

@@ -479,5 +480,5 @@ * } else {

* if(result.type === 'playlist'){
* message.channel.send(`${result.tracks.length} songs added to the queue ${emotes.music}\nCurrently playing **${result.tracks[0].name}**!`);
* message.channel.send(`${result.tracks.length} songs added to the queue\nCurrently playing **${result.tracks[0].name}**!`);
* } else {
* message.channel.send(`Currently playing ${result.name} ${emotes.music}`);
* message.channel.send(`Currently playing ${result.name}`);
* }

@@ -484,0 +485,0 @@ * }

@@ -58,3 +58,3 @@ const Discord = require('discord.js')

*/
this.fromPlaylist = videoData.fromPlaylist ?? false
this.fromPlaylist = videoData.fromPlaylist || false
/**

@@ -61,0 +61,0 @@ * The queue in which the track is

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