poru 1.0.6 → 1.0.7

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/Node.js +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poru",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A stable and powefull lavalink client with so many features",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/src/Node.js CHANGED
@@ -126,8 +126,7 @@ destroy(){
126
126
  }
127
127
 
128
128
  reconnect() {
129
- this.reconnect++;
130
- setTimeout(() => {
129
+ this.reconnect = setTimeout(() => {
131
130
  this.isConnected = false;
132
131
  this.ws.removeAllListeners();
133
132
  this.ws = null;