mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
docs(Presence): document client property (#3342)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user