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

@ -14,7 +14,7 @@
## About ## About
<strong>Welcome to `discord.js-selfbot-v13@v2.4`, based on `discord.js@13.9.2`</strong> <strong>Welcome to `discord.js-selfbot-v13@v2.5`, based on `discord.js@13.10.2`</strong>
- discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9. - discord.js-selfbot-v13 is a [Node.js](https://nodejs.org) module that allows user accounts to interact with the Discord API v9.

File diff suppressed because one or more lines are too long

View File

@ -225,6 +225,7 @@ class Guild extends AnonymousGuild {
* * COMMUNITY * * COMMUNITY
* * DISCOVERABLE * * DISCOVERABLE
* * FEATURABLE * * FEATURABLE
* * INVITES_DISABLED
* * INVITE_SPLASH * * INVITE_SPLASH
* * MEMBER_VERIFICATION_GATE_ENABLED * * MEMBER_VERIFICATION_GATE_ENABLED
* * NEWS * * NEWS
@ -636,6 +637,7 @@ class Guild extends AnonymousGuild {
/** /**
* Searches for guild interactions * Searches for guild interactions
* @param {GuildSearchInteractionOptions} options Options for the search * @param {GuildSearchInteractionOptions} options Options for the search
* @deprecated
* @returns {void | Promise<ApplicationCommand>} * @returns {void | Promise<ApplicationCommand>}
*/ */
searchInteraction(options = {}) { searchInteraction(options = {}) {

View File

@ -32,10 +32,11 @@ class User extends Base {
/** /**
* An array of object (connected accounts), containing the following properties: * An array of object (connected accounts), containing the following properties:
* * type: string * @property {string} type The account type (twitch, youtube, etc)
* * id: string * @property {string} name The account name
* * name: string * @property {string} id The account id
* * verified: boolean * @property {boolean} verified Whether the account is verified
* @see {@link https://discord.com/developers/docs/resources/user#connection-object}
* @typedef {Object} ConnectionAccount * @typedef {Object} ConnectionAccount
*/ */
@ -68,7 +69,7 @@ class User extends Base {
/** /**
* This user is on the same servers as Client User * 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> * <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 * @readonly
*/ */
this.mutualGuilds = new Collection(); this.mutualGuilds = new Collection();

1
typings/index.d.ts vendored
View File

@ -5564,6 +5564,7 @@ export type GuildFeatures =
| 'COMMUNITY' | 'COMMUNITY'
| 'DISCOVERABLE' | 'DISCOVERABLE'
| 'FEATURABLE' | 'FEATURABLE'
| 'INVITES_DISABLED'
| 'INVITE_SPLASH' | 'INVITE_SPLASH'
| 'MEMBER_VERIFICATION_GATE_ENABLED' | 'MEMBER_VERIFICATION_GATE_ENABLED'
| 'NEWS' | 'NEWS'