docs(Presence): document client property (#3342)

This commit is contained in:
Ryan Munro
2019-06-13 05:54:12 +10:00
committed by SpaceEEC
parent 6cd4c27fae
commit f82f0af928

View File

@@ -37,6 +37,12 @@ class Presence {
* @param {Object} [data={}] The data for the presence
*/
constructor(client, data = {}) {
/**
* The client that instantiated this
* @name Presence#client
* @type {Client}
* @readonly
*/
Object.defineProperty(this, 'client', { value: client });
/**
* The user ID of this presence