mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(ClientUser): setActivity should resolve with a Presence
This commit is contained in:
parent
5f50d9e627
commit
a85d801a12
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue