magmastream 2.8.6-dev.3 → 2.8.6-dev.4

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.
@@ -103,7 +103,7 @@ class Queue extends Array {
103
103
  }
104
104
  }
105
105
  }
106
- if (this.manager.players.get(this.guildId).isAutoplay) {
106
+ if (this.manager.players.has(this.guildId) && this.manager.players.get(this.guildId).isAutoplay) {
107
107
  if (!Array.isArray(track)) {
108
108
  const botUser = this.manager.players.get(this.guildId).get("Internal_BotUser");
109
109
  if (botUser && botUser.id === track.requester.id) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magmastream",
3
- "version": "2.8.6-dev.3",
3
+ "version": "2.8.6-dev.4",
4
4
  "description": "A user-friendly Lavalink client designed for NodeJS.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",