magmastream 2.9.3-dev.7 → 2.9.3-dev.8
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/structures/Utils.js +7 -5
- package/package.json +1 -1
package/dist/structures/Utils.js
CHANGED
|
@@ -661,12 +661,14 @@ class PlayerUtils {
|
|
|
661
661
|
return null;
|
|
662
662
|
if (key === "node")
|
|
663
663
|
return safeNode;
|
|
664
|
-
if (key === "filters"
|
|
664
|
+
if (key === "filters") {
|
|
665
|
+
const filters = { ...value };
|
|
666
|
+
delete filters.player;
|
|
665
667
|
return {
|
|
666
|
-
distortion:
|
|
667
|
-
equalizer:
|
|
668
|
-
karaoke:
|
|
669
|
-
rotation:
|
|
668
|
+
distortion: filters["distortion"] ?? null,
|
|
669
|
+
equalizer: filters["equalizer"] ?? [],
|
|
670
|
+
karaoke: filters["karaoke"] ?? null,
|
|
671
|
+
rotation: filters["rotation"] ?? null,
|
|
670
672
|
timescale: value["timescale"] ?? null,
|
|
671
673
|
vibrato: value["vibrato"] ?? null,
|
|
672
674
|
reverb: value["reverb"] ?? null,
|