@@ -41,6 +41,10 @@ export interface APIApplication {
4141 * When `true` the app's bot will only join upon completion of the full oauth2 code grant flow
4242 */
4343 bot_require_code_grant : boolean ;
44+ /**
45+ * Partial user object for the bot user associated with the application
46+ */
47+ bot ?: APIUser ;
4448 /**
4549 * The url of the application's terms of service
4650 */
@@ -60,7 +64,7 @@ export interface APIApplication {
6064 *
6165 * @deprecated This field will be removed in v11
6266 */
63- summary : string ;
67+ summary : '' ;
6468 /**
6569 * The hexadecimal encoded key for verification in interactions and the GameSDK's GetTicket function
6670 *
@@ -77,6 +81,10 @@ export interface APIApplication {
7781 * If this application is a game sold on Discord, this field will be the guild to which it has been linked
7882 */
7983 guild_id ?: Snowflake ;
84+ /**
85+ * A partial object of the associated guild
86+ */
87+ guild ?: APIPartialGuild ;
8088 /**
8189 * If this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists
8290 */
@@ -96,30 +104,34 @@ export interface APIApplication {
96104 */
97105 flags : ApplicationFlags ;
98106 /**
99- * Up to 5 tags describing the content and functionality of the application
107+ * Approximate count of guilds the application has been added to
100108 */
101- tags ?: [ string , string ? , string ? , string ? , string ? ] ;
109+ approximate_guild_count ?: number ;
102110 /**
103- * Settings for the application's default in-app authorization link, if enabled
111+ * Array of redirect URIs for the application
104112 */
105- install_params ?: APIApplicationInstallParams ;
113+ redirect_uris ?: string [ ] ;
106114 /**
107- * The application's default custom authorization link, if enabled
115+ * The interactions endpoint URL for the application
108116 */
109- custom_install_url ?: string ;
117+ interactions_endpoint_url ?: string ;
110118 /**
111119 * The application's role connection verification entry point,
112120 * which when configured will render the app as a verification method in the guild role verification configuration
113121 */
114122 role_connections_verification_url ?: string ;
115123 /**
116- * An approximate count of the app's guild membership
124+ * Up to 5 tags of max 20 characters each describing the content and functionality of the application
117125 */
118- approximate_guild_count ?: number ;
126+ tags ?: [ string , string ? , string ? , string ? , string ? ] ;
119127 /**
120- * A partial object of the associated guild
128+ * Settings for the application's default in-app authorization link, if enabled
121129 */
122- guild ?: APIPartialGuild ;
130+ install_params ?: APIApplicationInstallParams ;
131+ /**
132+ * The application's default custom authorization link, if enabled
133+ */
134+ custom_install_url ?: string ;
123135}
124136
125137export interface APIApplicationInstallParams {
0 commit comments