mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 17:21:31 +00:00
docs(Presence): document client property (#3342)
This commit is contained in:
parent
6cd4c27fae
commit
f82f0af928
1 changed files with 6 additions and 0 deletions
|
|
@ -37,6 +37,12 @@ class Presence {
|
||||||
* @param {Object} [data={}] The data for the presence
|
* @param {Object} [data={}] The data for the presence
|
||||||
*/
|
*/
|
||||||
constructor(client, data = {}) {
|
constructor(client, data = {}) {
|
||||||
|
/**
|
||||||
|
* The client that instantiated this
|
||||||
|
* @name Presence#client
|
||||||
|
* @type {Client}
|
||||||
|
* @readonly
|
||||||
|
*/
|
||||||
Object.defineProperty(this, 'client', { value: client });
|
Object.defineProperty(this, 'client', { value: client });
|
||||||
/**
|
/**
|
||||||
* The user ID of this presence
|
* The user ID of this presence
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue