mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
docs(PresenceData): add YouTube and remove application (#4910)
This commit is contained in:
parent
89feedad98
commit
a7af4a8837
1 changed files with 3 additions and 5 deletions
|
|
@ -94,11 +94,9 @@ class ClientUser extends Structures.get('User') {
|
|||
* @property {PresenceStatusData} [status] Status of the user
|
||||
* @property {boolean} [afk] Whether the user is AFK
|
||||
* @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
|
||||
* @property {string} [activity.url] Twitch / YouTube stream URL
|
||||
* @property {?number|number[]} [shardID] Shard Id(s) to have the activity set on
|
||||
*/
|
||||
|
||||
|
|
@ -141,10 +139,10 @@ class ClientUser extends Structures.get('User') {
|
|||
}
|
||||
|
||||
/**
|
||||
* Options for setting an activity
|
||||
* Options for setting an activity.
|
||||
* @typedef ActivityOptions
|
||||
* @type {Object}
|
||||
* @property {string} [url] Twitch stream URL
|
||||
* @property {string} [url] Twitch / YouTube stream URL
|
||||
* @property {ActivityType|number} [type] Type of the activity
|
||||
* @property {?number|number[]} [shardID] Shard Id(s) to have the activity set on
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue