Client-side function
resetDiscordRichPresenceData
Jump to navigation
Jump to search
Syntax
bool resetDiscordRichPresenceData()
Returns
Returns true if function succeeds, false otherwise.
Example
The example shows how to reset Discord Rich Presence after using a custom application.
setDiscordApplicationID("you_application_key") setDiscordRichPresenceAsset("asset_logo", "Name of Asset") if resetDiscordRichPresenceData() then -- we reset to default by MTA Application. outputChatBox("Discord Rich Presence has been cleared and restored to default settings.") end