mirror of
https://github.com/danbulant/discord.js
synced 2026-07-08 04:31:05 +00:00
Normalise some GuildMember values
This commit is contained in:
parent
f3bab30cce
commit
3e114b9af7
1 changed files with 3 additions and 3 deletions
|
|
@ -72,15 +72,15 @@ class GuildMember {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether this meember is speaking
|
* Whether this meember is speaking
|
||||||
* @type {?boolean}
|
* @type {boolean}
|
||||||
*/
|
*/
|
||||||
this.speaking = this.speaking;
|
this.speaking = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The nickname of this Guild Member, if they have one
|
* The nickname of this Guild Member, if they have one
|
||||||
* @type {?string}
|
* @type {?string}
|
||||||
*/
|
*/
|
||||||
this.nickname = data.nick;
|
this.nickname = data.nick || null;
|
||||||
|
|
||||||
this.user = data.user;
|
this.user = data.user;
|
||||||
this._roles = data.roles;
|
this._roles = data.roles;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue