mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Address missing application docs in setPresence (#2257)
fixes #2103 according to how crawl says it should be fixed in #2104
This commit is contained in:
parent
4fb7e64a39
commit
3038d4b2c7
1 changed files with 3 additions and 1 deletions
|
|
@ -187,7 +187,9 @@ class ClientUser extends Structures.get('User') {
|
|||
* @typedef {Object} PresenceData
|
||||
* @property {PresenceStatus} [status] Status of the user
|
||||
* @property {boolean} [afk] Whether the user is AFK
|
||||
* @property {Object} [activity] activity the user is playing
|
||||
* @property {Object} [activity] Activity the user is playing
|
||||
* @property {Object|string} [activity.application] An application object or application id
|
||||
* @property {string} [activity.application.id] The id of the application
|
||||
* @property {string} [activity.name] Name of the activity
|
||||
* @property {ActivityType|number} [activity.type] Type of the activity
|
||||
* @property {string} [activity.url] Stream url
|
||||
|
|
|
|||
Loading…
Reference in a new issue