Skip to content

Instantly share code, notes, and snippets.

@archeruwu
Last active May 4, 2024 18:01
Show Gist options
  • Save archeruwu/67f7366245d807e7cf410809eff859df to your computer and use it in GitHub Desktop.
Save archeruwu/67f7366245d807e7cf410809eff859df to your computer and use it in GitHub Desktop.
Eris Rich Presence Example

How to:

BTW, you will not be able to see the rich pres, but others will

!!DISABLE "Display currently running game as a status message." IN USER SETTINGS!!

!!Use at own risk, the devs dont like selfbots and will ban without warning!!

  • Step 1:

    • You need to go to the discord dev website and make a new app
    • WILL NOT WORK WITH BOT ACCOUNT
  • Step 2:

    • Upload a large and a small image to the rich pres part of the app
  • Step 3:

    • In the example replace the app id text with the string of numbers at the end of the url in your browser
    • Open inspect element on the app page, and select the large image and copy its id and replace the "large_image" text with the large image id
    • Do the same with the small image
  • Step 4:

    • Replace all the text parts (details, state, and name) with your text
    • Replace the "<online, idle, dnd, offline>" part with what you want it to be
  • Step 5:

    • Replace "< Client >" part with what you set your client to be called, be it "bot" or just "client"
  • Step 6:

    • Run the code with the latest eris version
<Client>.editStatus("<online, idle, dnd, offline>", {
type: 1,
name: "main playing status text",
state: "bottom text on rich pres popout",
details: "middle text on popout",
application_id: "id of app on the discord dev site",
assets: {
large_image: "image id of the large image uploaded on the dev site (you will need to use inspect element)",
large_text: "text that will display when hovering over the large image",
small_image: "image id of the small image uploaded on the dev site (you will need to use inspect element)",
small_text: "text that will display when hovering over the small image"
}
})
@ajaein
Copy link

ajaein commented Feb 18, 2023

amazing lol

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