Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "shunko", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A powerful lavalink wrapper around shoukaku", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,4 @@ const Queue = require('./Queue'); | ||
this.base_shoukaku = options.BaseShoukaku; | ||
/** @type {string} */ | ||
@@ -298,4 +300,3 @@ this.guildId = options.guildId; | ||
destroy() { | ||
this.disconnect(); | ||
this.shoukaku.destroy(); | ||
this.base_shoukaku.connections.delete(this.guildId); | ||
this.shoukaku.removeAllListeners(); | ||
@@ -302,0 +303,0 @@ this.manager.players.delete(this.guildId); |
@@ -70,2 +70,3 @@ const { EventEmitter } = require('events'); | ||
volume: `${options.volume}` || '80', | ||
BaseShoukaku: this.shoukaku, | ||
ShoukakuPlayer | ||
@@ -72,0 +73,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44372
1249