magmastream 2.9.0-dev.14 → 2.9.0-dev.15
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.
|
@@ -230,6 +230,8 @@ class Player {
|
|
|
230
230
|
}
|
|
231
231
|
await this.node.rest.destroyPlayer(this.guildId);
|
|
232
232
|
await this.queue.clear();
|
|
233
|
+
await this.queue.clearPrevious();
|
|
234
|
+
await this.queue.setCurrent(null);
|
|
233
235
|
this.manager.emit(Manager_1.ManagerEventTypes.PlayerStateUpdate, oldPlayer, null, {
|
|
234
236
|
changeType: Manager_1.PlayerStateEventTypes.PlayerDestroy,
|
|
235
237
|
});
|