3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Check if VC actually changed

This commit is contained in:
Dark 2021-08-20 19:01:47 +02:00
parent d54f03361a
commit d190957c7f
No known key found for this signature in database
GPG key ID: 384C4B4F5B1E25A8

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,