mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: fbd25f8677
This commit is contained in:
parent
a59d3d567c
commit
6649800f97
2 changed files with 3 additions and 2 deletions
|
|
@ -3196,7 +3196,8 @@ class GuildMember extends Base {
|
|||
const clone = this._clone();
|
||||
data.user = this.user;
|
||||
clone._patch(data);
|
||||
clone._frozenVoiceState = this.voiceState;
|
||||
clone._frozenVoiceState = {};
|
||||
Object.assign(clone._frozenVoiceState, this.voiceState);
|
||||
if (typeof data.mute !== 'undefined') clone._frozenVoiceState.mute = data.mute;
|
||||
if (typeof data.deaf !== 'undefined') clone._frozenVoiceState.mute = data.deaf;
|
||||
if (typeof data.channel_id !== 'undefined') clone._frozenVoiceState.channel_id = data.channel_id;
|
||||
|
|
|
|||
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