Skip to content

Commit 91d8516

Browse files
authored
feat(APIApplication): add approximate_user_authorization_count (#1272)
1 parent b2da18c commit 91d8516

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

deno/payloads/v10/application.ts

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deno/payloads/v9/application.ts

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

payloads/v10/application.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,13 @@ export interface APIApplication {
111111
*/
112112
approximate_guild_count?: number;
113113
/**
114-
* Approximate count of users that have installed the app
114+
* Approximate count of users that have installed the app (authorized with `application.commands` as a scope)
115115
*/
116116
approximate_user_install_count?: number;
117+
/**
118+
* Approximate count of users that have OAuth2 authorizations for the app
119+
*/
120+
approximate_user_authorization_count?: number;
117121
/**
118122
* Array of redirect URIs for the application
119123
*/

payloads/v9/application.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,13 @@ export interface APIApplication {
111111
*/
112112
approximate_guild_count?: number;
113113
/**
114-
* Approximate count of users that have installed the app
114+
* Approximate count of users that have installed the app (authorized with `application.commands` as a scope)
115115
*/
116116
approximate_user_install_count?: number;
117+
/**
118+
* Approximate count of users that have OAuth2 authorizations for the app
119+
*/
120+
approximate_user_authorization_count?: number;
117121
/**
118122
* Array of redirect URIs for the application
119123
*/

0 commit comments

Comments
 (0)