fix default presence

This commit is contained in:
Amish Shah
2018-08-11 00:26:24 +01:00
committed by GitHub
parent 34ed3c6014
commit f5ea673ebd

View File

@@ -115,7 +115,7 @@ class GuildMember extends Base {
* @readonly
*/
get presence() {
return this.guild.presences.get(this.id) || new Presence(this.client);
return this.guild.presences.get(this.id) || new Presence(this.client, { user: { id: this.id } });
}
/**