mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
fix(ClientUser): setActivity should resolve with a Presence
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user