From 318bb52c36a2f2c76f6eb86dc06e2626ea29c34a Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Sat, 12 Nov 2016 17:46:11 -0500 Subject: [PATCH] Clean up presence constructor --- src/structures/Presence.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/structures/Presence.js b/src/structures/Presence.js index 372f83072..05db21aaa 100644 --- a/src/structures/Presence.js +++ b/src/structures/Presence.js @@ -2,10 +2,7 @@ * Represents a user's presence */ class Presence { - constructor(data) { - if (!data) { - data = {}; - } + constructor(data = {}) { /** * The status of the presence: *