mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +00:00
Webpack build for branch master: eb5ba4e45e
This commit is contained in:
parent
8a146fe553
commit
4596bb15a0
2 changed files with 2 additions and 2 deletions
|
|
@ -7688,7 +7688,6 @@ class VoiceStateCollection extends Collection {
|
||||||
this.guild = guild;
|
this.guild = guild;
|
||||||
}
|
}
|
||||||
set(id, voiceState) {
|
set(id, voiceState) {
|
||||||
super.set(id, voiceState);
|
|
||||||
const member = this.guild.members.get(id);
|
const member = this.guild.members.get(id);
|
||||||
if (member) {
|
if (member) {
|
||||||
if (member.voiceChannel && member.voiceChannel.id !== voiceState.channel_id) {
|
if (member.voiceChannel && member.voiceChannel.id !== voiceState.channel_id) {
|
||||||
|
|
@ -7698,6 +7697,7 @@ class VoiceStateCollection extends Collection {
|
||||||
const newChannel = this.guild.channels.get(voiceState.channel_id);
|
const newChannel = this.guild.channels.get(voiceState.channel_id);
|
||||||
if (newChannel) newChannel.members.set(member.user.id, member);
|
if (newChannel) newChannel.members.set(member.user.id, member);
|
||||||
}
|
}
|
||||||
|
super.set(id, voiceState);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue