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
v1.9.9.1 — Hyperlink Fields
Discord supports turning Details, State, and the Large/Small image into
clickable links — not just the two preset buttons. This release exposes
that as a subtle 🔗 toggle next to each of those four fields.
Implementation:
- Added detailsUrl, stateUrl, largeImageUrl, smallImageUrl to FIELD_KEYS
and the newProfile() defaults so they round-trip cleanly through
MultiRP's native JSON exports. CustomRP's .crp format predates these
fields and silently drops them on export.
- Rebuilt buildActivity() to emit Discord's wire-spec activity object
directly (nested timestamps/assets, snake_case keys, plus the new
details_url / state_url / assets.large_url / assets.small_url
fields). discord-rpc 4.0.1 strips unknown fields inside its
setActivity() wrapper, so we bypass it and call
client.request('SET_ACTIVITY', ...) ourselves to pass our payload
straight through to Discord.
- UI: a small 🔗 button next to the field label expands an inline
https:// URL input below it. The toggle highlights when a URL is set.
Existing fields and layout are otherwise unchanged.
- Live preview and 'View as others' popout both render Details/State as
clickable links and add a hover ring on hyperlinked images so you can
sanity-check the experience before pushing live.
- Validation accepts https://, soft-warns on http://, hard-rejects
everything else (no javascript:, data:, file:, etc).
Reference:
https://docs.discord.com/developers/discord-social-sdk/development-guides/setting-rich-presence