From 3114e7abbf85a28ff145b6727887811d86c45ce1 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 2 Mar 2023 09:58:27 +0000 Subject: [PATCH 1/7] Add endpoint --- docs/resources/Application.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index d9b3213d91..4984d02bb8 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -94,3 +94,7 @@ | ----------- | ---------------- | ---------------------------------------------------------------------------------------------------------- | | scopes | array of strings | the [scopes](#DOCS_TOPICS_OAUTH2/shared-resources-oauth2-scopes) to add the application to the server with | | permissions | string | the [permissions](#DOCS_TOPICS_PERMISSIONS) to request for the bot role | + +## Get Current Bot Application Information % GET /applications/@me + +Returns the bot's [application](#DOCS_RESOURCES_APPLICATION/application-object) object. From 2e92e7234cae96fadb3102305596e66064ec7c47 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 2 Mar 2023 10:09:05 +0000 Subject: [PATCH 2/7] Add new fields --- docs/resources/Application.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index 4984d02bb8..9d9d839057 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -19,11 +19,13 @@ | summary *(deprecated)* | string | **deprecated and will be removed in v11.** An empty string. | | verify_key | string | the hex encoded key for verification in interactions and the GameSDK's [GetTicket](#DOCS_GAME_SDK_APPLICATIONS/getticket) | | team | ?[team](#DOCS_TOPICS_TEAMS/data-models-team-object) object | if the application belongs to a team, this will be a list of the members of that team | -| guild_id? | snowflake | if this application is a game sold on Discord, this field will be the guild to which it has been linked | +| guild_id? | snowflake | guild associated with the bot. For example a developer support server. | +| guild? | partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object | a partial object of the associated guild | | primary_sku_id? | snowflake | if this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists | | slug? | string | if this application is a game sold on Discord, this field will be the URL slug that links to the store page | | cover_image? | string | the application's default rich presence invite [cover image hash](#DOCS_REFERENCE/image-formatting) | | flags? | integer | the application's public [flags](#DOCS_RESOURCES_APPLICATION/application-object-application-flags) | +| approximate_guild_count? | integer | an approximate count of the bots guild membership. | | tags? | array of strings | up to 5 tags describing the content and functionality of the application | | install_params? | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | settings for the application's default in-app authorization link, if enabled | | custom_install_url? | string | the application's default custom authorization link, if enabled | From 4eb17278aa0d23368db8fa495b26584f3ae9bce3 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 2 Mar 2023 19:56:58 +0000 Subject: [PATCH 3/7] Update docs/resources/Application.md Co-authored-by: IllagerCaptain <76600137+IllagerCaptain@users.noreply.github.com> --- docs/resources/Application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index 9d9d839057..dcf10efdcd 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -25,7 +25,7 @@ | slug? | string | if this application is a game sold on Discord, this field will be the URL slug that links to the store page | | cover_image? | string | the application's default rich presence invite [cover image hash](#DOCS_REFERENCE/image-formatting) | | flags? | integer | the application's public [flags](#DOCS_RESOURCES_APPLICATION/application-object-application-flags) | -| approximate_guild_count? | integer | an approximate count of the bots guild membership. | +| approximate_guild_count? | integer | an approximate count of the bot's guild membership. | | tags? | array of strings | up to 5 tags describing the content and functionality of the application | | install_params? | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | settings for the application's default in-app authorization link, if enabled | | custom_install_url? | string | the application's default custom authorization link, if enabled | From cbc92eeb536a010ba2905889f87ca30f21150fde Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:30:03 +0100 Subject: [PATCH 4/7] Update docs/resources/Application.md Co-authored-by: shay --- docs/resources/Application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index dcf10efdcd..20729b1d99 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -99,4 +99,4 @@ ## Get Current Bot Application Information % GET /applications/@me -Returns the bot's [application](#DOCS_RESOURCES_APPLICATION/application-object) object. +Returns the [application](#DOCS_RESOURCES_APPLICATION/application-object) object associated with the requesting bot user. From 307897f2d376f2d7781129813205759a72285140 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:30:06 +0100 Subject: [PATCH 5/7] Update docs/resources/Application.md Co-authored-by: shay --- docs/resources/Application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index 20729b1d99..c84dc0e14c 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -97,6 +97,6 @@ | scopes | array of strings | the [scopes](#DOCS_TOPICS_OAUTH2/shared-resources-oauth2-scopes) to add the application to the server with | | permissions | string | the [permissions](#DOCS_TOPICS_PERMISSIONS) to request for the bot role | -## Get Current Bot Application Information % GET /applications/@me +## Get Current Application % GET /applications/@me Returns the [application](#DOCS_RESOURCES_APPLICATION/application-object) object associated with the requesting bot user. From 5b7136ee639bfcd26e0f7b666f3bc438a095250d Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:30:29 +0100 Subject: [PATCH 6/7] Update docs/resources/Application.md Co-authored-by: shay --- docs/resources/Application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index c84dc0e14c..2117184f80 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -19,7 +19,7 @@ | summary *(deprecated)* | string | **deprecated and will be removed in v11.** An empty string. | | verify_key | string | the hex encoded key for verification in interactions and the GameSDK's [GetTicket](#DOCS_GAME_SDK_APPLICATIONS/getticket) | | team | ?[team](#DOCS_TOPICS_TEAMS/data-models-team-object) object | if the application belongs to a team, this will be a list of the members of that team | -| guild_id? | snowflake | guild associated with the bot. For example a developer support server. | +| guild_id? | snowflake | guild associated with the app. For example, a developer support server. | | guild? | partial [guild](#DOCS_RESOURCES_GUILD/guild-object) object | a partial object of the associated guild | | primary_sku_id? | snowflake | if this application is a game sold on Discord, this field will be the id of the "Game SKU" that is created, if exists | | slug? | string | if this application is a game sold on Discord, this field will be the URL slug that links to the store page | From 40a8d167e77437798f89e15a398b6a4ee9e66c83 Mon Sep 17 00:00:00 2001 From: Jupith <51760248+Jupith@users.noreply.github.com> Date: Thu, 13 Jul 2023 20:30:36 +0100 Subject: [PATCH 7/7] Update docs/resources/Application.md Co-authored-by: shay --- docs/resources/Application.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Application.md b/docs/resources/Application.md index 2117184f80..bf395ed349 100644 --- a/docs/resources/Application.md +++ b/docs/resources/Application.md @@ -25,7 +25,7 @@ | slug? | string | if this application is a game sold on Discord, this field will be the URL slug that links to the store page | | cover_image? | string | the application's default rich presence invite [cover image hash](#DOCS_REFERENCE/image-formatting) | | flags? | integer | the application's public [flags](#DOCS_RESOURCES_APPLICATION/application-object-application-flags) | -| approximate_guild_count? | integer | an approximate count of the bot's guild membership. | +| approximate_guild_count? | integer | an approximate count of the app's guild membership. | | tags? | array of strings | up to 5 tags describing the content and functionality of the application | | install_params? | [install params](#DOCS_RESOURCES_APPLICATION/install-params-object) object | settings for the application's default in-app authorization link, if enabled | | custom_install_url? | string | the application's default custom authorization link, if enabled |