DEV Community

Cover image for Richpresence in discord using pypresence - Tutorial
InvalidLenni
InvalidLenni

Posted on

Richpresence in discord using pypresence - Tutorial

Custom Rich presence in Discord using pypresence

Guide for custom RPC in Discord using pypresence.

Getting Started

You need Python 3.8 or later

  1. Download the code from the DiscordCustomRPC.py Repository.
  2. Open your command prompt.
  3. Write pip install requirements.txt in your command prompt.
  4. Edit VAR.X In the basic-presence.py or advanced-presence.py file to the specification you want to have. (I will add a config.json soon)
  5. Save it

Getting Started with the application

  1. Navigate to https://discord.com/developers/applications.
  2. Create an application.
  3. Copy the Client ID for later.
  4. Replace the actual client ID with the client ID of your application.

Then it should look like this example:
Example - Basic Presence

Optional

Getting Started with setup the Advanced Rich presence

  1. Navigate to https://discord.com/developers/applications.
  2. Navigate to Rich presences / Art assets.
  3. Upload your rich presence images and then click on "Save". You need to use the advanced rich presence code for making an advanced rich presence!

Then it should look like:
Example - Advanced Presence

Top comments (2)

Collapse
 
thomasbnt profile image
Thomas Bnt ☕

Awesome ! 🔥😎

Collapse
 
invalidlenni profile image
InvalidLenni

Thanks! 😊