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
Document new rich presence url & status display type fields (#7674)
* update embedded app sdk
* add examples for social sdk
* add to gateway events
* add to rpc example
* add changelog entry
* split out social sdk changes into separate pr
* re-add streaming disclaimer
* clarify status text
* clarify status text in changelog too
* Update docs/events/gateway-events.mdx
Co-authored-by: advaith <advaithj1@gmail.com>
* Update docs/change-log/2025-07-10-clickable-links-and-customizable-statuses-in-activities.md
Co-authored-by: advaith <advaithj1@gmail.com>
* update changelog
* Update docs/change-log/2025-07-17-clickable-links-and-customizable-statuses-in-rich-presence.md
Co-authored-by: Mark Mandel <mark.mandel@discordapp.com>
---------
Co-authored-by: advaith <advaithj1@gmail.com>
Co-authored-by: Mark Mandel <mark.mandel@discordapp.com>
title: "Clickable Links and Customizable Statuses in Rich Presence"
3
+
date: "2025-07-17"
4
+
topics:
5
+
- "Activities"
6
+
- "Embedded App SDK"
7
+
---
8
+
9
+
We've added new functionality to Rich Presences to give users of your application a more interactive and flexible experience. There are two big changes as part of this:
10
+
- You can now add clickable links to the state text, details text, large image & small image
11
+
- You can now choose which field (name, state, or details) is used in users' status text in the member list (e.g. instead of "Listening to MyMusic" you can now have your status text show "Listening to Rick Astley")
12
+
13
+
All of these new fields are documented on the [Activity Object](/docs/events/gateway-events#activity-object) section of Gateway Events and also available through the Embedded App SDK.
| type | integer |[Activity type](/docs/events/gateway-events#activity-object-activity-types)|
1140
-
| url? | ?string | Stream URL, is validated when type is 1 |
1141
-
| created_at | integer | Unix timestamp (in milliseconds) of when the activity was added to the user's session |
1142
-
| timestamps? |[timestamps](/docs/events/gateway-events#activity-object-activity-timestamps) object | Unix timestamps for start and/or end of the game |
1143
-
| application_id? | snowflake | Application ID for the game |
1144
-
| details? | ?string | What the player is currently doing |
1145
-
| state? | ?string | User's current party status, or text used for a custom status |
1146
-
| emoji? | ?[emoji](/docs/events/gateway-events#activity-object-activity-emoji) object | Emoji used for a custom status |
1147
-
| party? |[party](/docs/events/gateway-events#activity-object-activity-party) object | Information for the current party of the player |
1148
-
| assets? |[assets](/docs/events/gateway-events#activity-object-activity-assets) object | Images for the presence and their hover texts |
1149
-
| secrets? |[secrets](/docs/events/gateway-events#activity-object-activity-secrets) object | Secrets for Rich Presence joining and spectating |
1150
-
| instance? | boolean | Whether or not the activity is an instanced game session |
1151
-
| flags? | integer |[Activity flags](/docs/events/gateway-events#activity-object-activity-flags)`OR`d together, describes what the payload includes |
1152
-
| buttons? | array of [buttons](/docs/events/gateway-events#activity-object-activity-buttons)| Custom buttons shown in the Rich Presence (max 2) |
| type | integer |[Activity type](/docs/events/gateway-events#activity-object-activity-types)|
1140
+
| url? | ?string | Stream URL, is validated when type is 1 |
1141
+
| created_at | integer | Unix timestamp (in milliseconds) of when the activity was added to the user's session |
1142
+
| timestamps? |[timestamps](/docs/events/gateway-events#activity-object-activity-timestamps) object | Unix timestamps for start and/or end of the game |
1143
+
| application_id? | snowflake | Application ID for the game |
1144
+
| status_display_type? | ?integer |[Status display type](/docs/events/gateway-events#activity-object-status-display-types); controls which field is displayed in the user's status text in the member list |
1145
+
| details? | ?string | What the player is currently doing |
1146
+
| details_url? | ?string | URL that is linked when clicking on the details text |
1147
+
| state? | ?string | User's current party status, or text used for a custom status |
1148
+
| state_url? | ?string | URL that is linked when clicking on the state text |
1149
+
| emoji? | ?[emoji](/docs/events/gateway-events#activity-object-activity-emoji) object | Emoji used for a custom status |
1150
+
| party? |[party](/docs/events/gateway-events#activity-object-activity-party) object | Information for the current party of the player |
1151
+
| assets? |[assets](/docs/events/gateway-events#activity-object-activity-assets) object | Images for the presence and their hover texts |
1152
+
| secrets? |[secrets](/docs/events/gateway-events#activity-object-activity-secrets) object | Secrets for Rich Presence joining and spectating |
1153
+
| instance? | boolean | Whether or not the activity is an instanced game session |
1154
+
| flags? | integer |[Activity flags](/docs/events/gateway-events#activity-object-activity-flags)`OR`d together, describes what the payload includes |
1155
+
| buttons? | array of [buttons](/docs/events/gateway-events#activity-object-activity-buttons)| Custom buttons shown in the Rich Presence (max 2) |
1153
1156
1154
1157
:::info
1155
1158
Bot users are only able to set `name`, `state`, `type`, and `url`.
@@ -1170,6 +1173,18 @@ Bot users are only able to set `name`, `state`, `type`, and `url`.
1170
1173
The streaming type currently only supports Twitch and YouTube. Only `https://twitch.tv/` and `https://youtube.com/` urls will work.
0 commit comments