fix(Presence): pass client and default to offline (#2071)

This commit is contained in:
SpaceEEC
2017-10-28 19:03:27 +02:00
committed by Crawl
parent 50ad66f513
commit a62d1e954d
3 changed files with 3 additions and 3 deletions

View File

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