3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 16:55:03 +00:00

Check if VC actually changed

This commit is contained in:
Dark 2021-08-20 19:01:47 +02:00
parent 0ac7969a6e
commit 8403c49342

View file

@ -30,6 +30,7 @@ export const LogsVoiceStateUpdateEvt = logsEvt({
channel: newChannel,
});
} else if (oldChannel && newChannel) {
if (oldChannel.id === newChannel.id) return;
logVoiceChannelMove(meta.pluginData, {
member,
oldChannel,