From a7af4a8837ce6f040c1b254a9bcb7f2e1d9c489c Mon Sep 17 00:00:00 2001 From: Jan <66554238+Vaporox@users.noreply.github.com> Date: Sat, 17 Oct 2020 15:47:49 +0200 Subject: [PATCH] docs(PresenceData): add YouTube and remove application (#4910) --- src/structures/ClientUser.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index 84ada54d9..65112b8cc 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -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 */