poru 3.7.0 → 3.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poru",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "A stable and powerfull lavalink client around node.js",
5
5
  "main": "index.js",
6
6
  "typings": "./typings/index.d.ts",
package/src/Player.js CHANGED
@@ -121,7 +121,7 @@ class Player extends EventEmitter {
121
121
 
122
122
  volume = Math.min(5, Math.max(0, volume));
123
123
  this.filters.volume = volume;
124
- this.updateFilters();
124
+ this.filters.updateFilters();
125
125
 
126
126
  return this; }
127
127
 
package/src/Poru.js CHANGED
@@ -146,10 +146,9 @@ class Poru extends EventEmitter {
146
146
  let node;
147
147
  if (options.region) {
148
148
 
149
- const region = this.getNodeByRegion(options.region)[0];
150
- node = this.nodes.get(region.name || this.leastUsedNodes[0].name || this.leastUsedNodes[0].host
151
- )
152
- } else {
149
+ const region = this.getNodeByRegion(options.region)[0];
150
+ node = this.nodes.get(region.name || this.leastUsedNodes[0].name || this.leastUsedNodes[0].host)
151
+ } else {
153
152
  node = this.nodes.get(
154
153
  this.leastUsedNodes[0].name || this.leastUsedNodes[0].host
155
154
  );