magmastream 2.9.3-dev.12 → 2.9.3-dev.13
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.
|
@@ -273,11 +273,11 @@ class Player {
|
|
|
273
273
|
this.voiceReceiverWsClient.close();
|
|
274
274
|
this.voiceReceiverWsClient = null;
|
|
275
275
|
}
|
|
276
|
-
await this.queue.destroy();
|
|
277
276
|
if (disconnect) {
|
|
278
277
|
await this.disconnect().catch(() => { });
|
|
279
278
|
}
|
|
280
279
|
await this.node.rest.destroyPlayer(this.guildId).catch(() => { });
|
|
280
|
+
await this.queue.destroy();
|
|
281
281
|
this.nowPlayingMessage = undefined;
|
|
282
282
|
this.manager.emit(Enums_1.ManagerEventTypes.PlayerDestroy, this);
|
|
283
283
|
const deleted = this.manager.players.delete(this.guildId);
|