From 3038d4b2c70f9e72dab4ed1d808e565a22c3c230 Mon Sep 17 00:00:00 2001 From: bdistin Date: Mon, 15 Jan 2018 18:20:36 -0600 Subject: [PATCH] Address missing application docs in setPresence (#2257) fixes #2103 according to how crawl says it should be fixed in #2104 --- src/structures/ClientUser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index 42556ae2c..92fe176f5 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -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