fix(ClientUser): setActivity should resolve with a Presence

This commit is contained in:
SpaceEEC
2018-05-01 20:27:05 +02:00
parent 5f50d9e627
commit a85d801a12

View File

@@ -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);
}
/**