Skip to content

Document new rich presence url & status display type fields #7674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jul 17, 2025

Conversation

foxfirecodes
Copy link
Contributor

as part of a change that just went out today, we now support new fields for rich presence activities:

  • status_display_type - controls which field is displayed in the user's status text (0 = name, 1 = state, 2 = details)
  • state_url - URL that is linked to when clicking on the state text in the activity card
  • details_url - URL that is linked to when clicking on the details text in the activity card
  • assets.large_url - URL that is linked to when clicking on the large image in the activity card
  • assets.small_url - URL that is linked to when clicking on the small image in the activity card

this PR aims to document these new features. we'll also need to update the doxygen docs when the new version of the social sdk with support for these features goes out, and i'm not entirely sure how to do that

@foxfirecodes foxfirecodes requested a review from a team as a code owner July 10, 2025 21:53
@foxfirecodes foxfirecodes requested review from abe-discord and removed request for a team July 10, 2025 21:53
@colinloretz colinloretz requested a review from markmandel July 10, 2025 21:58
@Cynosphere
Copy link

Application( name)s that have a game modal attached make it impossible to click state and detail URLs.
When type is playing and state and party are defined, it gets rendered specially; this is also not clickable when there is a state URL.

ungive added a commit to ungive/discord-rpc that referenced this pull request Jul 11, 2025
Soheab added a commit to Soheab/discord.py that referenced this pull request Jul 11, 2025
foxfirecodes and others added 2 commits July 14, 2025 15:38
Co-authored-by: advaith <advaithj1@gmail.com>
…atuses-in-activities.md

Co-authored-by: advaith <advaithj1@gmail.com>
@foxfirecodes
Copy link
Contributor Author

Application( name)s that have a game modal attached make it impossible to click state and detail URLs. When type is playing and state and party are defined, it gets rendered specially; this is also not clickable when there is a state URL.

@Cynosphere thanks for calling this out -- i also noticed this while testing my updates to the social sdk. i just shipped a fix about an hour ago that is live on canary now!
image

…atuses-in-rich-presence.md

Co-authored-by: Mark Mandel <mark.mandel@discordapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants