magmastream 2.10.3-dev.1 → 2.10.3-dev.2
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.
|
@@ -510,7 +510,7 @@ class Manager extends events_1.EventEmitter {
|
|
|
510
510
|
const player = this.create(playerOptions);
|
|
511
511
|
this.emit(Enums_1.ManagerEventTypes.Debug, `[MANAGER] Recreating player: ${guildId}`);
|
|
512
512
|
if (state.isAutoplay) {
|
|
513
|
-
const savedUser = state.data?.clientUser;
|
|
513
|
+
const savedUser = (state.data?.Internal_AutoplayUser || state.data?.clientUser);
|
|
514
514
|
if (savedUser) {
|
|
515
515
|
const autoPlayUser = await player.manager.resolveUser(savedUser);
|
|
516
516
|
player.setAutoplay(true, autoPlayUser, state.autoplayTries);
|