Skip to content

Conversation

JustArion
Copy link

@JustArion JustArion commented Oct 15, 2024

Discord normally discards the Name property and replaces it with the name associated with the Discord Application. Projects such as arRPC from OpenAsar are more lenient on such restrictions. Clients using OpenAsar will have their Discord Rich Presence shown like the screenshot below if the commit is merged.

Normal Discord clients are unaffected by this change and modifying the property will do nothing for them (for now).

If the user has a normal Discord client:
92359b9c-7610-484e-a03b-ef2e6f5087d2_15-10-2024

Confirmed working with arRPC via the BasicExample

            client.SetPresence(new RichPresence()
            {
                Name = "A test Example",
                Details = "A Basic Example",
                State = "In Game",
                Timestamps = Timestamps.FromTimeSpan(10),
                Buttons = new Button[]
                {
                    new Button() { Label = "Fish", Url = "https://lachee.dev/" }
                }
            });

Client running openAsar:
d0b3b97e-45be-4bcd-b37a-fd8deb80ce6d_15-10-2024

The PR is similar to #255 though currently only targets openAsar users. Discord will probably allow this in the default client in the future.

Fixes #48

@JustArion JustArion changed the title Allow custom Rich Presence names Add custom Rich Presence names Oct 15, 2024
@Lachee
Copy link
Owner

Lachee commented Jul 28, 2025

Hello,

Thank you for your awesome contributions.
However as this isn't officially supported by Discord yet, I do not wish to accept this PR. I worry having the ability to set a name will confuse a lot of users of the library and seem like non-functioning code because it requires a custom client to view.

Feel free to maintain your fork specifically for custom clients.

@Lachee Lachee closed this Jul 28, 2025
@Lachee Lachee added the wontfix This will not be worked on label Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wontfix This will not be worked on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change primary name

2 participants