Skip to content

Commit

Permalink
Adds approx guild count and get self application endpoint (#5971)
Browse files Browse the repository at this point in the history
* Add endpoint

* Add new fields

* Update docs/resources/Application.md

Co-authored-by: IllagerCaptain <76600137+IllagerCaptain@users.noreply.github.com>

* Update docs/resources/Application.md

Co-authored-by: shay <swdewael@gmail.com>

* Update docs/resources/Application.md

Co-authored-by: shay <swdewael@gmail.com>

* Update docs/resources/Application.md

Co-authored-by: shay <swdewael@gmail.com>

* Update docs/resources/Application.md

Co-authored-by: shay <swdewael@gmail.com>

---------

Co-authored-by: IllagerCaptain <76600137+IllagerCaptain@users.noreply.github.com>
Co-authored-by: shay <swdewael@gmail.com>
  • Loading branch information
3 people authored Jul 13, 2023
1 parent b9af82a commit 0817246
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/resources/Application.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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 |
| 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 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 |
Expand Down Expand Up @@ -95,3 +97,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 Application % GET /applications/@me

Returns the [application](#DOCS_RESOURCES_APPLICATION/application-object) object associated with the requesting bot user.

0 comments on commit 0817246

Please sign in to comment.