mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23: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
|
||||
*/
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user