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
No known key found for this signature in database
GPG key ID: 8C8A2E338661B871

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