Discord Events
Discord Presence Events
Discord Presence events are used when your launcher is connected to Discord Rich Presence and you want to react to connection changes or update results.
On Connected
Fires when the Discord connection is established. Useful for showing a connected state or unlocking Discord-dependent actions.
On Disconnected
Fires when the connection closes. Good for hiding Discord-only UI or switching to a fallback state.
On Error
Fires when something goes wrong with Discord Presence. You could use this to show an error message or retry option.
On Presence Update Success
Fires after the presence details update correctly. This is useful for confirming a change or continuing a related action chain.
On Presence Update Error
Fires if updating the presence fails. Useful for warnings, retries, or logging a failed update attempt.