From a85d801a1237519cdc595fda0df06fd16e437550 Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Tue, 1 May 2018 20:27:05 +0200 Subject: [PATCH] fix(ClientUser): setActivity should resolve with a Presence --- src/structures/ClientUser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index ec96cce64..4390cae2c 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -289,7 +289,7 @@ class ClientUser extends User { if (!name) return this.setPresence({ game: null }); return this.setPresence({ game: { name, type, url }, - }); + }).then(clientUser => clientUser.presence); } /**