magmastream 2.2.1 → 2.2.2

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.
@@ -151,9 +151,6 @@ class Filters {
151
151
  }
152
152
  /** Removes the audio effects and resets the filter status. */
153
153
  async clearFilters() {
154
- this.player.filters = new Filters(this.player);
155
- await this.updateFilters();
156
- // Reset filter status
157
154
  this.filterStatus = {
158
155
  bassboost: false,
159
156
  distort: false,
@@ -166,6 +163,14 @@ class Filters {
166
163
  tv: false,
167
164
  vaporwave: false,
168
165
  };
166
+ this.player.filters = new Filters(this.player);
167
+ this.setEqualizer([]);
168
+ this.setDistortion(null);
169
+ this.setKaraoke(null);
170
+ this.setRotation(null);
171
+ this.setTimescale(null);
172
+ this.setVibrato(null);
173
+ await this.updateFilters();
169
174
  return this;
170
175
  }
171
176
  /** Returns the status of the specified filter . */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "devDependencies": {
17
17
  "@favware/rollup-type-bundler": "^2.0.0",
18
18
  "@types/lodash": "^4.14.196",
19
- "@types/node": "^20.4.5",
19
+ "@types/node": "^20.4.6",
20
20
  "@types/ws": "^8.5.3",
21
21
  "@typescript-eslint/eslint-plugin": "^6.2.1",
22
22
  "@typescript-eslint/parser": "^6.2.1",