Lachee / discord-rpc-csharp

C# custom implementation for Discord Rich Presence. Not deprecated and still available!
MIT License
561 stars 93 forks source link

[Help Wanted] #204

Closed uykuda closed 1 year ago

uykuda commented 1 year ago

How can i use the client.UpdateStartTime(); ?

Lachee commented 1 year ago

conveniently, https://github.com/dotnet/docfx/issues/8097 has caused my documentation to go down. For now, you will have to manually read the inline documentation for UpdateStartTime

/// <summary>
/// Sets the start time of the <see cref="CurrentPresence"/> to now and sends the updated presence to Discord.
/// </summary>
/// <returns>Updated Rich Presence</returns>
public RichPresence UpdateStartTime();

/// <summary>
/// Sets the start time of the <see cref="CurrentPresence"/> and sends the updated presence to Discord.
/// </summary>
/// <param name="time">The new time for the start</param>
/// <returns>Updated Rich Presence</returns>
public RichPresence UpdateStartTime(DateTime time);