aqualink 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -50,7 +50,6 @@ class Player extends EventEmitter {
|
|
|
50
50
|
setupEventListeners() {
|
|
51
51
|
this.on("playerUpdate", this.onPlayerUpdate.bind(this));
|
|
52
52
|
this.on("event", this.handleEvent.bind(this));
|
|
53
|
-
this.on('destroy', this.destroy.bind(this));
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
onPlayerUpdate(packet) {
|
|
@@ -120,6 +119,7 @@ class Player extends EventEmitter {
|
|
|
120
119
|
*/
|
|
121
120
|
async destroy() {
|
|
122
121
|
await this.disconnect();
|
|
122
|
+
await this.aqua.emit('destroy', this);
|
|
123
123
|
return this;
|
|
124
124
|
}
|
|
125
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aqualink",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "An Lavalink wrapper, focused in speed, performance, and features, Based in Riffy!",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -36,17 +36,20 @@
|
|
|
36
36
|
"author": "mushroom0162 (https://github.com/ToddyTheNoobDud)",
|
|
37
37
|
"license": "ISC",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
|
|
39
|
+
"fastify": "^5.1.0",
|
|
40
|
+
"undici": "^7.1.0",
|
|
40
41
|
"ws": "^8.18.0"
|
|
41
42
|
},
|
|
42
43
|
"repository": {
|
|
43
44
|
"type": "git",
|
|
44
45
|
"url": "https://github.com/ToddyTheNoobDud/AquaLink"
|
|
45
46
|
},
|
|
46
|
-
"maintainers": [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
"maintainers": [
|
|
48
|
+
{
|
|
49
|
+
"name": "mushroom0162",
|
|
50
|
+
"url": "https://github.com/ToddyTheNoobDud"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
50
53
|
"devDependencies": {
|
|
51
54
|
"discord.js": "^14.16.3"
|
|
52
55
|
}
|