mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 03:00:35 +00:00
Webpack build for branch master: 32e2dd212e
This commit is contained in:
parent
ad8cbea03f
commit
3264c3c51a
2 changed files with 13 additions and 1 deletions
|
|
@ -2916,6 +2916,12 @@ class GuildMember extends Base {
|
||||||
if (data.roles) this.roles._patch(data.roles);
|
if (data.roles) this.roles._patch(data.roles);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_clone() {
|
||||||
|
const clone = super._clone();
|
||||||
|
clone.roles = this.roles.clone();
|
||||||
|
return clone;
|
||||||
|
}
|
||||||
|
|
||||||
get voiceState() {
|
get voiceState() {
|
||||||
return this._frozenVoiceState || this.guild.voiceStates.get(this.id) || {};
|
return this._frozenVoiceState || this.guild.voiceStates.get(this.id) || {};
|
||||||
}
|
}
|
||||||
|
|
@ -10310,6 +10316,12 @@ class GuildMemberRoleStore extends DataStore {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clone() {
|
||||||
|
const clone = new this.constructor(this.member);
|
||||||
|
clone._patch(this.keyArray());
|
||||||
|
return clone;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves a RoleResolvable to a Role object.
|
* Resolves a RoleResolvable to a Role object.
|
||||||
* @method resolve
|
* @method resolve
|
||||||
|
|
|
||||||
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