-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Describe the feature you'd like
This is a multi-part feature request because I think the changes are closely related and small enough to not warrant three separate issues:
- Add optional URL fields for
state,details,large_image,small_image - Add an option to choose the
ActivityType(e.g. Playing, Listening, Watching, Competing) - Add an option to choose the
StatusDisplayType(e.g. app name,state,details)
Why is this feature needed?
It will improve the user's ability to express themselves and provide a more thorough example for developers to reference in their own implementations.
Additional context
Some or all changes may require the discord-rich-presence crate to be updated from v0.2.5 to v1.0.0
-
The new URL fields are
state_url,details_url(ref),assets.large_url,assets.small_url(ref) -
The activity type can be set by passing the
activity::ActivityTypeenum to theactivity::Activity::activity_typemethod -
The status display type can be set by passing the
activity::StatusDisplayTypeenum to theactivity::Activity::status_display_typemethod
vionya/discord-rich-presence#52
vionya/discord-rich-presence#54
discord/discord-api-docs#7674