typings(Presence): add missing guild property

This commit is contained in:
SpaceEEC
2019-05-04 19:05:04 +02:00
parent e64773e21b
commit 8b83e2fdcb
2 changed files with 5 additions and 4 deletions

View File

@@ -48,7 +48,7 @@ class Presence {
* The guild of this presence
* @type {?Guild}
*/
this.guild = data.guild;
this.guild = data.guild || null;
this.patch(data);
}