Normalise some GuildMember values

This commit is contained in:
Schuyler Cebulskie
2016-09-19 14:41:36 -04:00
parent f3bab30cce
commit 3e114b9af7

View File

@@ -72,15 +72,15 @@ class GuildMember {
/**
* 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
* @type {?string}
*/
this.nickname = data.nick;
this.nickname = data.nick || null;
this.user = data.user;
this._roles = data.roles;