RichPresenceAPI

Functions

Clear

RichPresenceAPI.Clear(): void

Clears the current rich presence data

UpdateRichPresenceState

RichPresenceAPI.UpdateRichPresenceState(state: { discord: { assets: { large_image: string; large_text: string; }; details: string; name: string; state: string; }; }): void

Updates the game's current rich presence state.

Parameter

Name Type Description
state { discord: { assets: { large_image: string; large_text: string; }; details: string; name: string; state: string; }; } No description provided.