lavalink-client 2.6.0 → 2.6.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.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -801,7 +801,7 @@ declare class Player {
|
|
|
801
801
|
/** The current Positin of the player (Calculated) */
|
|
802
802
|
get position(): number;
|
|
803
803
|
/** The timestamp when the last position change update happened */
|
|
804
|
-
lastPositionChange: number;
|
|
804
|
+
lastPositionChange: number | null;
|
|
805
805
|
/** The current Positin of the player (from Lavalink) */
|
|
806
806
|
lastPosition: number;
|
|
807
807
|
lastSavedPosition: number;
|
|
@@ -1044,7 +1044,7 @@ interface PlayerJson {
|
|
|
1044
1044
|
/** Lavalink's position the player was at */
|
|
1045
1045
|
lastPosition: number;
|
|
1046
1046
|
/** Last time the position was sent from lavalink */
|
|
1047
|
-
lastPositionChange: number;
|
|
1047
|
+
lastPositionChange: number | null;
|
|
1048
1048
|
/** Volume in % from the player (without volumeDecrementer) */
|
|
1049
1049
|
volume: number;
|
|
1050
1050
|
/** Real Volume used in lavalink (with the volumeDecrementer) */
|
package/dist/index.d.ts
CHANGED
|
@@ -801,7 +801,7 @@ declare class Player {
|
|
|
801
801
|
/** The current Positin of the player (Calculated) */
|
|
802
802
|
get position(): number;
|
|
803
803
|
/** The timestamp when the last position change update happened */
|
|
804
|
-
lastPositionChange: number;
|
|
804
|
+
lastPositionChange: number | null;
|
|
805
805
|
/** The current Positin of the player (from Lavalink) */
|
|
806
806
|
lastPosition: number;
|
|
807
807
|
lastSavedPosition: number;
|
|
@@ -1044,7 +1044,7 @@ interface PlayerJson {
|
|
|
1044
1044
|
/** Lavalink's position the player was at */
|
|
1045
1045
|
lastPosition: number;
|
|
1046
1046
|
/** Last time the position was sent from lavalink */
|
|
1047
|
-
lastPositionChange: number;
|
|
1047
|
+
lastPositionChange: number | null;
|
|
1048
1048
|
/** Volume in % from the player (without volumeDecrementer) */
|
|
1049
1049
|
volume: number;
|
|
1050
1050
|
/** Real Volume used in lavalink (with the volumeDecrementer) */
|
package/package.json
CHANGED