DEV Community

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

Posted on

7 3

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (2)

Collapse
 
thomasbnt profile image
Thomas Bnt

Awesome ! 🔥😎

Collapse
 
invalidlenni profile image
InvalidLenni

Thanks! 😊

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more