Skip to content

About

[EN] A Python script for Discord status (RPC) and game emulation. Allows you to specify absolutely any game =)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Discord Status Displayer

fake status

A simple Python demonstration script to display a custom game status (Rich Presence) on your Discord profile. DISCLAIMER You use this script at your own risk. The author is not responsible for any possible consequences to your Discord account. This project was created solely for educational and demonstration purposes to show developers how the Discord RPC (Rich Presence) mechanism works and how to integrate this functionality into their own applications.

Features

  • Fast connection to Discord RPC.
  • Displays a custom game status ("In the game").
  • Shows an elapsed time counter since the script started.
  • Safely closes the connection upon exit.

Requirements

  • Python 3.7 or higher installed.
  • Discord desktop application running on your PC (the web version is not supported).

Installation and Setup

  1. Clone the repository:
git clone https://github.com/kaurcev/custom-discord-status
cd custom-discord-status
  1. Install the required library:
pip install pypresence
  1. Run the script:
python discord_status.py

To stop the script and disable the status, press Ctrl + C in your terminal.

How to Get and Change the Game ID (Client ID)

The script uses a default ID for Minecraft. To display a different game or create your own custom application, follow these steps:

Method 1: Use pre-existing IDs of popular games

copy ID

You can copy IDs for popular games directly from the comments in the code:

  • Minecraft: 1402418491272986635
  • Dota 2: 356875988589740042
  • Terraria: 1402418344912752671
  • GTA VI: 1445160676522856458

Paste the chosen ID into the CLIENT_ID variable in the discord_status.py file.

Method 2: Create your own custom application

If you are developing your own game or want a custom status name:

  1. Go to the Discord Developer Portal (discord.com).
  2. Click the New Application button in the top right corner.
  3. Enter a name (this name will appear in your status after the words "Playing...").
  4. In the General Information tab, find the Application ID (Client ID) and copy it.
  5. Paste this copied ID into the CLIENT_ID variable inside discord_status.py.

Troubleshooting

  • Error: "Discord is not running, not found, or running as an administrator."
  • Solution: Make sure your Discord desktop client is open. If the script still shows this error, try running your terminal (command prompt) as an administrator.

About

[EN] A Python script for Discord status (RPC) and game emulation. Allows you to specify absolutely any game =)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages