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
359
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.0.0 to 2.0.1

2

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

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

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

// Stream time of the dispatcher
const currentStreamTime = queue.calculatedStreamTime
const currentStreamTime = queue.voiceConnection.dispatcher.streamTime + queue.additionalStreamTime
// Total stream time

@@ -804,3 +804,3 @@ const totalTime = queue.playing.durationMS

return new Promise((resolve) => {
const currentStreamTime = updateFilter ? queue.voiceConnection.dispatcher.streamTime / 1000 : undefined
const seekTime = updateFilter ? queue.voiceConnection.dispatcher.streamTime + queue.additionalStreamTime : undefined
const encoderArgsFilters = []

@@ -822,3 +822,3 @@ Object.keys(queue.filters).forEach((filterName) => {

encoderArgs,
seek: currentStreamTime + queue.additionalStreamTime
seek: seekTime / 1000
})

@@ -832,4 +832,4 @@ setTimeout(() => {

})
if (currentStreamTime) {
queue.additionalStreamTime += currentStreamTime
if (seekTime) {
queue.additionalStreamTime = seekTime
}

@@ -836,0 +836,0 @@ queue.voiceConnection.dispatcher.setVolumeLogarithmic(queue.calculatedVolume / 200)

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