diff --git a/src/Player.ts b/src/Player.ts index 2e3bbfc..51adb0e 100644 --- a/src/Player.ts +++ b/src/Player.ts @@ -76,7 +76,7 @@ class Player extends EventEmitter { const queue = this.getQueue(oldState.guild.id); if (!queue) return; - if (oldState.channelId && newState.channelId && oldState.channelId !== newState.channelId) { + if (oldState.channelId && newState.channelId && oldState.channelId !== newState.channelId && newState.member.id === newState.guild.me.id) { if (queue?.connection) queue.connection.channel = newState.channel; } diff --git a/yarn.lock b/yarn.lock index 0974d00..421bf6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4667,9 +4667,9 @@ taffydb@2.6.2: integrity sha1-fLy2S1oUG2ou/CxdLGe04VCyomg= tar@^6.1.0: - version "6.1.6" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.6.tgz#c23d797b0a1efe5d479b1490805c5443f3560c5d" - integrity sha512-oaWyu5dQbHaYcyZCTfyPpC+VmI62/OM2RTUYavTk1MDr1cwW5Boi3baeYQKiZbY2uSQJGr+iMOzb/JFxLrft+g== + version "6.1.11" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" + integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0"