New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

discord-player

Package Overview
Dependencies
Maintainers
1
Versions
367
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 1.3.0 to 1.3.1

2

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

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

@@ -190,12 +190,8 @@ const ytdl = require('ytdl-core');

* @param {string} guildID
* @returns {Promise<Queue>}
* @returns {?Queue}
*/
getQueue(guildID) {
return new Promise(async(resolve, reject) => {
// Gets guild queue
let queue = this.queues.find((g) => g.guildID === guildID);
if(!queue) reject('Not playing');
// Resolves the guild queue
resolve(queue);
});
// Gets guild queue
let queue = this.queues.find((g) => g.guildID === guildID);
return queue;
}

@@ -202,0 +198,0 @@

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