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 1.3.2 to 1.3.3

2

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

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

@@ -84,5 +84,5 @@ # Discord Player

// Current song will be repeated indefinitely
client.player.setRepeatMode(true);
client.player.setRepeatMode(guildID, true);
// Current song will no longer be repeated indefinitely
client.player.setRepeatMode(false);
client.player.setRepeatMode(guildID, false);
```

@@ -398,3 +398,3 @@

```js
client.player.setRepeatMode(boolean);
client.player.setRepeatMode(guildID, boolean);
```

@@ -412,3 +412,3 @@

// Enable repeat mode
client.player.setRepeatMode(true);
client.player.setRepeatMode(message.guild.id, true);
// Get the current song

@@ -421,3 +421,3 @@ let song = await client.player.nowPlaying(message.guild.id);

// Disable repeat mode
client.player.setRepeatMode(false);
client.player.setRepeatMode(message.guild.id, false);
// Get the current song

@@ -424,0 +424,0 @@ let song = await client.player.nowPlaying(message.guild.id);

@@ -293,6 +293,7 @@ const ytdl = require('ytdl-core');

* Enable or disable the repeat mode
* @param {string} guildID
* @param {Boolean} enabled Whether the repeat mode should be enabled
* @returns {Promise<Void>}
*/
setRepeatMode(enabled) {
setRepeatMode(guildID, enabled) {
return new Promise(async(resolve, reject) => {

@@ -299,0 +300,0 @@ // Gets guild queue

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