magmastream 2.2.2 → 2.2.3
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.
- package/README.md +2 -0
- package/dist/structures/Player.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|

|
|
6
6
|
[](https://github.com/Blackfort-Hosting/magmastream/issues)
|
|
7
7
|
[](https://github.com/Blackfort-Hosting/magmastream/pulls)
|
|
8
|
+
[](https://github.com/sponsors/Blackfort-Hosting)
|
|
9
|
+
|
|
8
10
|
|
|
9
11
|
**Magmastream** a lavalink wrapper for NodeJs. Magmastream only supports lavalink version 4.
|
|
10
12
|
|
|
@@ -292,7 +292,7 @@ class Player {
|
|
|
292
292
|
this.dynamicLoopInterval = setInterval(() => {
|
|
293
293
|
if (!this.dynamicRepeat)
|
|
294
294
|
return;
|
|
295
|
-
|
|
295
|
+
const shuffled = _.shuffle(this.queue);
|
|
296
296
|
this.queue.clear();
|
|
297
297
|
shuffled.forEach((track) => {
|
|
298
298
|
this.queue.add(track);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "magmastream",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "A user-friendly Lavalink client designed for NodeJS.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,19 +15,19 @@
|
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"@favware/rollup-type-bundler": "^2.0.0",
|
|
18
|
-
"@types/lodash": "^4.14.
|
|
19
|
-
"@types/node": "^20.
|
|
18
|
+
"@types/lodash": "^4.14.197",
|
|
19
|
+
"@types/node": "^20.5.7",
|
|
20
20
|
"@types/ws": "^8.5.3",
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
22
|
-
"@typescript-eslint/parser": "^6.
|
|
23
|
-
"eslint": "^8.
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
|
22
|
+
"@typescript-eslint/parser": "^6.5.0",
|
|
23
|
+
"eslint": "^8.48.0",
|
|
24
24
|
"npm-run-all": "^1.7.0",
|
|
25
25
|
"typedoc": "^0.24.8",
|
|
26
26
|
"typedoc-plugin-no-inherit": "^1.4.0",
|
|
27
27
|
"typescript": "^5.1.6"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@discordjs/collection": "^1.5.
|
|
30
|
+
"@discordjs/collection": "^1.5.3",
|
|
31
31
|
"axios": "^1.4.0",
|
|
32
32
|
"events": "^3.3.0",
|
|
33
33
|
"lodash": "^4.17.21",
|