This was made for a friend named Rie but I suppose you all may use it.
Note: You're going to be needing to install node.js on your Windows/Mac.
Note: If you haven't created a Application for your Rich Presence kindly check this out.
-
Head over to the Developer Portal, and click on your desired application that you wish to use for the Rich Presence.
-
After you click on your application you should be able to see a tab saying
Application ID
, right below that tab you should be able to see a Copy button, click on it and paste it inconfig.json
file. -
Remember, the name of your Application on Developer Portal will be named as your Rich Presence.
- Attachment:
- Your
config.json
file should look like this
This isn't the last step yet because some of you guys might want to also use images in your RPC ( Rich Presence Client ) but for the ones who only want texts on their RPC this must be the last step for you.
-
If you try and run the RPC after following the steps given above by typing
node index.js
on your command prompt, it show something familiar to the attachment given below.
-
Open your
config.json
file and edit thestate
variable to whatever you want. -
config.json
:
-
Now the
details
variable, in yourconfig.json
file you will see a variable namedstate
edit it to whatever you want, check the attachments given below. -
config.json
: -
Your RPC will look like this:
- We need two things for a button to get working, first is
Button Label
and a validLink
.
Note: The buttons will not work if you try to click on your desktop client, tell a friend to test it out if the button is working.
-
Label is basically a button label text which can't be kept empty. Check attachments given below.
-
config.json
:
-
Link is basically a link or we can say a url to some other website, for test purposes I'm using
https://discord.com/invite/xVxkMgMsuu
you can change it to whatever you want. Attachment given below. -
config.json
: -
After you're done setting up both of the things your button must show up on discord like the attachment given below.
-
This might sound a bit hard for the ones who're new but trust me its not.
-
Lets set up some images first ( If you already have images setup on the Rich Presence Tab ignore this step and move on to the next one. )
-
-
Head over to Developers Portal again and choose the application you want for your RPC and click on
Rich Presence
tab. -
Refer to the Attachment below on how to add images.
-
-
- Alright so in this last step of setting up images all you need to do is set the image name in your
config.json
file, refer to the attachment below.
- Alright so in this last step of setting up images all you need to do is set the image name in your
-
For setting Large Image Icon/Small Image Icon and the text to show when mouse is hovered on it, refer to attachment below.
Note: If your RPC doesn't show up images just make sure that they show up on your Rich Presence tab after adding the images.
-
Your RPC should show something like this after you're done setting up everything:
-
That was it I hope you found this useful and easy, if not or if I should improve this more, do let me know.
- Check out my bots: Kallo#5542 & xia#1476