docs: Update ConnectionAccount
This commit is contained in:
@@ -225,6 +225,7 @@ class Guild extends AnonymousGuild {
|
||||
* * COMMUNITY
|
||||
* * DISCOVERABLE
|
||||
* * FEATURABLE
|
||||
* * INVITES_DISABLED
|
||||
* * INVITE_SPLASH
|
||||
* * MEMBER_VERIFICATION_GATE_ENABLED
|
||||
* * NEWS
|
||||
@@ -636,6 +637,7 @@ class Guild extends AnonymousGuild {
|
||||
/**
|
||||
* Searches for guild interactions
|
||||
* @param {GuildSearchInteractionOptions} options Options for the search
|
||||
* @deprecated
|
||||
* @returns {void | Promise<ApplicationCommand>}
|
||||
*/
|
||||
searchInteraction(options = {}) {
|
||||
|
@@ -32,10 +32,11 @@ class User extends Base {
|
||||
|
||||
/**
|
||||
* An array of object (connected accounts), containing the following properties:
|
||||
* * type: string
|
||||
* * id: string
|
||||
* * name: string
|
||||
* * verified: boolean
|
||||
* @property {string} type The account type (twitch, youtube, etc)
|
||||
* @property {string} name The account name
|
||||
* @property {string} id The account id
|
||||
* @property {boolean} verified Whether the account is verified
|
||||
* @see {@link https://discord.com/developers/docs/resources/user#connection-object}
|
||||
* @typedef {Object} ConnectionAccount
|
||||
*/
|
||||
|
||||
@@ -68,7 +69,7 @@ class User extends Base {
|
||||
/**
|
||||
* This user is on the same servers as Client User
|
||||
* <info>The user must be force fetched for this property to be present or be updated</info>
|
||||
* @type {Collection<Snowflake, Object>}
|
||||
* @type {Collection<Snowflake, Guild>}
|
||||
* @readonly
|
||||
*/
|
||||
this.mutualGuilds = new Collection();
|
||||
|
Reference in New Issue
Block a user