mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(PresenceData): add YouTube and remove application (#4910)
This commit is contained in:
@@ -94,11 +94,9 @@ class ClientUser extends Structures.get('User') {
|
|||||||
* @property {PresenceStatusData} [status] Status of the user
|
* @property {PresenceStatusData} [status] Status of the user
|
||||||
* @property {boolean} [afk] Whether the user is AFK
|
* @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 {string} [activity.name] Name of the activity
|
||||||
* @property {ActivityType|number} [activity.type] Type 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
|
* @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
|
* @typedef ActivityOptions
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
* @property {string} [url] Twitch stream URL
|
* @property {string} [url] Twitch / YouTube stream URL
|
||||||
* @property {ActivityType|number} [type] Type of the activity
|
* @property {ActivityType|number} [type] Type of the activity
|
||||||
* @property {?number|number[]} [shardID] Shard Id(s) to have the activity set on
|
* @property {?number|number[]} [shardID] Shard Id(s) to have the activity set on
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user