Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions osu.Desktop/DiscordRichPresence.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ internal partial class DiscordRichPresence : Component
private readonly RichPresence presence = new RichPresence
{
Assets = new Assets { LargeImageKey = "osu_logo_lazer" },
Timestamps = Timestamps.Now,
Copy link
Copy Markdown
Contributor

@LiquidPL LiquidPL Mar 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noting that this will make the timestamp be set only once when the game starts, it will not be updated whenever the activity changes. I don't remember for sure if this was the behaviour already before Discord broke it, but I suppose it might be worth updating it (in a future PR) to display time spent in beatmap/MP lobby/etc., since that's how the rich presence seems to be used nowadays.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was the behaviour previously yeah, but at some point about a year ago discord decided to start resetting the counter on every activity change if there was no timestamp set.
I think most people are used to this timer being a "how long has the game been open" timer, as that is how it works in other games/non rich presence games and every once in a while I see people ask why it keeps resetting every time, recent example from dev discord.

Secrets = new Secrets
{
JoinSecret = null,
Expand Down
Loading