diff --git a/src/structures/Presence.js b/src/structures/Presence.js index ac528dfa9..e38efd3af 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -32,6 +32,7 @@ class Presence { */ equals(other) { return ( + other && this.status === other.status && this.game ? this.game.equals(other.game) : !other.game ); @@ -78,6 +79,7 @@ class Game { */ equals(other) { return ( + other && this.name === other.name && this.type === other.type && this.url === other.url