You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developers/change-log.mdx
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2766,15 +2766,15 @@ A new release of the Discord Social SDK is now available, with the following upd
2766
2766
2767
2767
To help keep us focused on the features, improvements, and gaming-related experiences that Discord users love, we are deprecating the following pieces of the GameSDK **starting today**, and decommissioning them on **Tuesday, May 2, 2023**:
This deprecation period will last until **Tuesday May 2, 2023**, after which these pieces will be decommissioned and no longer work. The other pieces of the GameSDK will continue to be supported.
2780
2780
@@ -3092,7 +3092,7 @@ A new release of the Discord Social SDK is now available, with the following upd
3092
3092
* To specify a reason for an administrative action in audit logs, apps must now pass the `X-Audit-Log-Reason` header rather than the `reason` parameter for all endpoints. Read more in the [Audit Logs documentation](/developers/resources/audit-log).
3093
3093
* Message routes (like [`POST /channels/{channel.id}/messages`](/developers/resources/message#create-message)) now use the `embeds` field (an array of embed objects) instead of `embed`.
3094
3094
* The `summary` field for [applications](/developers/resources/application) now returns an empty string for all API versions.
3095
-
* The `name` and `description` fields for [Achievements](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Achievements.md#achievement-struct) are now strings, and localization info is now passed in new `name_localizations` and `description_localizations` dictionaries. This change standardizes localization to match [Application Commands](/developers/interactions/application-commands#localization). Read details in the [Achievements documentation](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Achievements.md#achievement-struct).
3095
+
* The `name` and `description` fields for [Achievements](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Achievements.md#achievement-struct) are now strings, and localization info is now passed in new `name_localizations` and `description_localizations` dictionaries. This change standardizes localization to match [Application Commands](/developers/interactions/application-commands#localization). Read details in the [Achievements documentation](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Achievements.md#achievement-struct).
3096
3096
* Existing attachments must be specified when [`PATCH`ing messages with new attachments](/developers/reference#editing-message-attachments). Any attachments not specified will be removed and replaced with the specified list
3097
3097
* Requests to v10 and higher will no longer be supported on `discordapp.com` (this does **not** affect `cdn.discordapp.com`)
3098
3098
@@ -3499,7 +3499,7 @@ A new release of the Discord Social SDK is now available, with the following upd
3499
3499
}}>
3500
3500
## GameSDK Version 2.5.5
3501
3501
3502
-
We've shipped some updates to the GameSDK, including support for Linux as well as the IL2CPP backend system for Unity. These changes also fixed a bug in the [`SetUserAchievement()`](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Achievements.md#setuserachievement) method.
3502
+
We've shipped some updates to the GameSDK, including support for Linux as well as the IL2CPP backend system for Unity. These changes also fixed a bug in the [`SetUserAchievement()`](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Achievements.md#setuserachievement) method.
3503
3503
3504
3504
Get the latest at the top of the [Getting Started](/developers/developer-tools/game-sdk#step-1-get-the-sdk) documentation. If you're looking for help interacting with the GameSDK or want to report a bug, join us on the [official Discord](https://discord.gg/discord-developers).
3505
3505
</Update>
@@ -3528,7 +3528,7 @@ A new release of the Discord Social SDK is now available, with the following upd
3528
3528
}}>
3529
3529
## Bot Tokens for Achievements
3530
3530
3531
-
You can now use Bot tokens for authorization headers against the HTTP API for [Achievements](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Achievements.md#the-api-way).
3531
+
You can now use Bot tokens for authorization headers against the HTTP API for [Achievements](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Achievements.md#the-api-way).
Discord passes a number of environment variables down to the SDK. These are accessed by various functions in the SDK and can be changed for local testing by changing the value in your local environment.
| DISCORD_INSTANCE_ID |[Local Testing](/developers/developer-tools/game-sdk#testing-locally)| the locally running instance of Discord to connect to; allows you to choose between multiple running clients |
311
-
| DISCORD_ACCESS_TOKEN |[ApplicationManager.GetOAuth2Token()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Applications.md#getoauth2token)| the connected user's bearer token |
312
-
| DISCORD_CURRENT_LOCALE |[ApplicationManager.GetCurrentLocale()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Applications.md#getcurrentlocale)| the language that Discord is in for the connected user |
313
-
| DISCORD_CURRENT_BRANCH |[ApplicationManager.GetCurrentBranch()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Applications.md#getcurrentbranch)| the branch of the running application that the user has launched |
| DISCORD_INSTANCE_ID |[Local Testing](/developers/developer-tools/game-sdk#testing-locally)| the locally running instance of Discord to connect to; allows you to choose between multiple running clients |
311
+
| DISCORD_ACCESS_TOKEN |[ApplicationManager.GetOAuth2Token()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Applications.md#getoauth2token)| the connected user's bearer token |
312
+
| DISCORD_CURRENT_LOCALE |[ApplicationManager.GetCurrentLocale()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Applications.md#getcurrentlocale)| the language that Discord is in for the connected user |
313
+
| DISCORD_CURRENT_BRANCH |[ApplicationManager.GetCurrentBranch()](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Applications.md#getcurrentbranch)| the branch of the running application that the user has launched |
Copy file name to clipboardExpand all lines: developers/resources/application.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ import {Route} from '/snippets/route.jsx'
27
27
| terms_of_service_url? | string | URL of the app's Terms of Service |
28
28
| privacy_policy_url? | string | URL of the app's Privacy Policy |
29
29
| owner? | partial [user](/developers/resources/user#user-object) object | Partial user object for the owner of the app |
30
-
| verify_key | string | Hex encoded key for verification in interactions and the GameSDK's [GetTicket](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/developers/docs/game_sdk/Applications.md#getticket)|
30
+
| verify_key | string | Hex encoded key for verification in interactions and the GameSDK's [GetTicket](https://github.com/discord/discord-api-docs/blob/legacy-gamesdk/docs/game_sdk/Applications.md#getticket)|
31
31
| team | ?[team](/developers/topics/teams#data-models-team-object) object | If the app belongs to a team, this will be a list of the members of that team |
32
32
| guild_id? | snowflake | Guild associated with the app. For example, a developer support server. |
33
33
| guild? | partial [guild](/developers/resources/guild#guild-object) object | Partial object of the associated guild |
0 commit comments