A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/discordjs/discord.js/commit/3fa429c7dfa3bb3e6f099cd2f068c474a01677b1 below:

add `approximateUserAuthorizationCount` (#10… · discordjs/discord.js@3fa429c · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+12

-0

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+12

-0

lines changed Original file line number Diff line number Diff line change

@@ -163,6 +163,17 @@ class ClientApplication extends Application {

163 163

this.approximateUserInstallCount ??= null;

164 164

}

165 165 166 +

if ('approximate_user_authorization_count' in data) {

167 +

/**

168 +

* An approximate amount of users that have OAuth2 authorizations for this application.

169 +

*

170 +

* @type {?number}

171 +

*/

172 +

this.approximateUserAuthorizationCount = data.approximate_user_authorization_count;

173 +

} else {

174 +

this.approximateUserAuthorizationCount ??= null;

175 +

}

176 + 166 177

if ('guild_id' in data) {

167 178

/**

168 179

* The id of the guild associated with this application.

Original file line number Diff line number Diff line change

@@ -1159,6 +1159,7 @@ export class ClientApplication extends Application {

1159 1159

public flags: Readonly<ApplicationFlagsBitField>;

1160 1160

public approximateGuildCount: number | null;

1161 1161

public approximateUserInstallCount: number | null;

1162 +

public approximateUserAuthorizationCount: number | null;

1162 1163

public tags: string[];

1163 1164

public installParams: ClientApplicationInstallParams | null;

1164 1165

public integrationTypesConfig: IntegrationTypesConfiguration | null;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4