Skip to content

Instantly share code, notes, and snippets.

@advaith1
Last active September 23, 2023 18:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save advaith1/e47500465b1bb67518a65c6fb49830b6 to your computer and use it in GitHub Desktop.
Save advaith1/e47500465b1bb67518a65c6fb49830b6 to your computer and use it in GitHub Desktop.
Documentation for the Discord Rich Presence extension

Discord Rich Presence Extension Documentation

0. Create an app

First, create an application at Discord's New App page.

Set the App Name to the title of your Rich Presence playing status. For example, if you want Playing with discord, set the app name to with discord. You don't need to set a Redirect URI, Description, or App Icon, just click Create App. New App screenshot

Next, click Enable Rich Presence here: Enable Rich Presence screenshot

Now you can upload your images.

Scroll down to this part: Rich Presence Assets

Upload your assets: Uploading Assets

Now you should have some assets: Uploaded Assets

Setting up the extension

At the Start of Frame, choose the Initialise action and put in your Client ID. You can find this on the Discord Developer page you uploaded the images at.

Then, add an event with the condition Discord Rich Presence > Discord Events... > Presence Ready.

Now, you can set the details. You can use Presence > Set Details and Set Current Status to set the text that will show on the profile. Use Set Small Image Key and Set Large Image Key to set the small and large image (the key is the name you uploaded them as on Discord's website), and use Set __ Image Tooltip to set the tooltips. Finally, Set Instance to 1, and Send Presence Update.

Then, whenever you need to update the presence, run the actions.

ℹ️ You will need to Send Presence Update every time you change the presence. The presence will only change once every 15 seconds, but it will queue up new updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment