mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
Webpack build for branch 11.3.1-dev: 8cbefcc081
This commit is contained in:
parent
cf1a51895a
commit
4d38cc693d
2 changed files with 2 additions and 2 deletions
|
|
@ -15378,7 +15378,7 @@ class ClientUser extends User {
|
|||
* @returns {Promise<Presence>}
|
||||
*/
|
||||
setActivity(name, { url, type } = {}) {
|
||||
if (!name) return this.setPresence({ activity: null });
|
||||
if (!name) return this.setPresence({ game: null });
|
||||
return this.setPresence({
|
||||
game: { name, type, url },
|
||||
});
|
||||
|
|
|
|||
2
discord.11.3.1-dev.min.js
vendored
2
discord.11.3.1-dev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue