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
<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.

File diff suppressed because one or more lines are too long

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

1
typings/index.d.ts vendored
View File

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