-
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
Last active
May 4, 2024 18:01
-
-
Save archeruwu/67f7366245d807e7cf410809eff859df to your computer and use it in GitHub Desktop.
Eris Rich Presence Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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" | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i'm so fucking confused