lavalink-client 2.1.4 → 2.1.6
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/dist/cjs/structures/Filters.d.ts +360 -360
- package/dist/cjs/structures/Filters.js +899 -899
- package/dist/cjs/structures/Player.d.ts +2 -2
- package/dist/cjs/structures/Player.js +12 -6
- package/dist/esm/structures/Filters.d.ts +360 -360
- package/dist/esm/structures/Filters.js +895 -895
- package/dist/esm/structures/Player.d.ts +2 -2
- package/dist/esm/structures/Player.js +12 -6
- package/dist/types/structures/Filters.d.ts +360 -360
- package/dist/types/structures/Player.d.ts +2 -2
- package/package.json +2 -2
|
@@ -84,7 +84,7 @@ export interface LavalinkPlayOptions extends BasePlayOptions {
|
|
|
84
84
|
export interface PlayOptions extends LavalinkPlayOptions {
|
|
85
85
|
/** Whether to not replace the track if a play payload is sent. */
|
|
86
86
|
noReplace?: boolean;
|
|
87
|
-
/**
|
|
87
|
+
/** Adds track on queue and skips to it */
|
|
88
88
|
clientTrack?: Track | UnresolvedTrack;
|
|
89
89
|
}
|
|
90
90
|
export interface Player {
|
|
@@ -195,7 +195,7 @@ export declare class Player {
|
|
|
195
195
|
* Skip the current song, or a specific amount of songs
|
|
196
196
|
* @param amount provide the index of the next track to skip to
|
|
197
197
|
*/
|
|
198
|
-
skip(skipTo?: number, throwError?: boolean):
|
|
198
|
+
skip(skipTo?: number, throwError?: boolean): any;
|
|
199
199
|
/**
|
|
200
200
|
* Clears the queue and stops playing. Does not destroy the Player and not leave the channel
|
|
201
201
|
* @returns
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lavalink-client",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"description": "Easy, flexible and feature-rich lavalink@v4 Client. Both for Beginners and Proficients.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"@typescript-eslint/parser": "^6.4.0",
|
|
55
55
|
"eslint": "^8.47.0",
|
|
56
56
|
"ts-loader": "^9.4.4",
|
|
57
|
-
"tslib": "^2.6.1",
|
|
58
57
|
"typedoc": "^0.25.4",
|
|
59
58
|
"typedoc-theme-hierarchy": "^4.1.2",
|
|
60
59
|
"typescript": "^5.1.6"
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
62
|
"undici": "^5.23.0",
|
|
63
|
+
"tslib": "^2.6.1",
|
|
64
64
|
"ws": "^8.13.0"
|
|
65
65
|
}
|
|
66
66
|
}
|