Socket
Socket
Sign inDemoInstall

player-engine

Package Overview
Dependencies
179
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.5 to 0.1.6

26

dist/Structers/PlayerTrack.js

@@ -101,3 +101,3 @@ "use strict";

this.stream = this.tempStream;
this.createResource();
//this.createResource();
}

@@ -111,15 +111,13 @@ }

createResource(inlineVolume = true) {
if (!this.audioResource) {
this.audioResource = (0, voice_1.createAudioResource)(this.stream, {
metadata: {
title: this.title,
picture: this.picture,
url: this.url,
platform: this.platform,
duraation: this.duration.full,
},
//inputType: this.streamType ?? StreamType.Raw,
inlineVolume,
});
}
this.audioResource = (0, voice_1.createAudioResource)(this.stream, {
metadata: {
title: this.title,
picture: this.picture,
url: this.url,
platform: this.platform,
duraation: this.duration.format,
},
//inputType: this.streamType ?? StreamType.Raw,
inlineVolume,
});
return this.audioResource;

@@ -126,0 +124,0 @@ }

{
"name": "player-engine",
"description": "Play your Musics in Your Discord Music Bot | Discord.js V13 Only",
"version": "0.1.5",
"version": "0.1.6",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc