mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 17:43:30 +01:00
docs(*): add links to Discord's API objects & data (#5862)
This commit is contained in:
@@ -35,7 +35,7 @@ const Util = require('../util/Util');
|
||||
class Presence {
|
||||
/**
|
||||
* @param {Client} client The instantiating client
|
||||
* @param {Object} [data={}] The data for the presence
|
||||
* @param {APIPresence} [data={}] The data for the presence
|
||||
*/
|
||||
constructor(client, data = {}) {
|
||||
/**
|
||||
@@ -373,3 +373,9 @@ class RichPresenceAssets {
|
||||
exports.Presence = Presence;
|
||||
exports.Activity = Activity;
|
||||
exports.RichPresenceAssets = RichPresenceAssets;
|
||||
|
||||
/* eslint-disable max-len */
|
||||
/**
|
||||
* @external APIPresence
|
||||
* @see {@link https://discord.com/developers/docs/rich-presence/how-to#updating-presence-update-presence-payload-fields}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user