- Click to the Code green button.
- Click on Download ZIP button.
- Unzip the zip file.
- In your console, go to the DiscordCustomRP folder directory with
cd folder\directory
- Type the
npm i
command
- Go to the website: https://discord.com/developers/applications
- Then click on the "New Application" button.
- Give your application a name and then click on the "Create Application" button.
- Copy the Application ID.
- Go down and click on the "Rich Presence" button.
- Upload the images that you will use in your Rich Presence, remember that all the images must have a recognizable name and then identify it in the configuration files of DiscordCustomRP, look carefully at which section you upload the images, if they are "Large" or "Small". In the screenshot we will upload a small image called
discord_black
and another large image calleddiscord_logo
- Then click on "Save changes" and go to the config.json file to start configuring your Rich Presence.
This is the final result of configuring my config.json
. To get the applicationID
you must go to your application on the Discord developer page and copy the field "Application ID".
{
"textConfiguration": {
"details": "Hello everyone",
"state": "This is DiscordCustomRP"
},
"imageConfiguration": {
"largeKey": "discord_logo",
"largeText": "Discord Logo (large text)",
"smallKey": "discord_black",
"smallText": "Discord Black Logo (small text)"
},
"applicationID": "463437134137655298"
}
- To turn on the Rich Presence use the following command on your console:
node .
ornpm run start
- The names of the resources according to the put should be placed in the
smallKey
orlargeKey
fields, depending on the selected size given to the image. - To edit the main text of your Rich Presence you must modify the
details
orstate
field, you can always modify the fields that are in quotes.