docs: Update ConnectionAccount

This commit is contained in:
March 7th
2022-08-11 10:52:43 +07:00
parent c6f5550c6e
commit 97f1c41232
5 changed files with 11 additions and 7 deletions

View File

@@ -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 = {}) {

View File

@@ -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();