mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
docs(*): add links to Discord's API objects & data (#5862)
This commit is contained in:
@@ -7,7 +7,7 @@ const { ActivityTypes, OPCodes } = require('../util/Constants');
|
||||
class ClientPresence extends Presence {
|
||||
/**
|
||||
* @param {Client} client The instantiating client
|
||||
* @param {Object} [data={}] The data for the client presence
|
||||
* @param {APIPresence} [data={}] The data for the client presence
|
||||
*/
|
||||
constructor(client, data = {}) {
|
||||
super(client, Object.assign(data, { status: data.status || 'online', user: { id: null } }));
|
||||
|
||||
Reference in New Issue
Block a user