Skip to content

ngn13/custom-presence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


🎨 Discord Custom Presence Script


Simple python script for custom discord presence

📀 Installation

  • Make sure you have python version 3 installed:
which python
python --version

If you don't have it installed, you can install it with your distribution's package manager

  • Go to a temporary directory and clone the repo
cd /tmp
git clone https://github.com/ngn13/custom-presence.git
cd custom-presence
  • Install the requirements
pip -r requirements.txt
  • Run the install script
chmod +x install.sh
sudo ./install.sh
  • Files will be copied into /usr/bin, which is probably in your PATH, so you can launch the scripts from the terminal
which cp-cfg
which cp-run
  • Then you can delete the directory
cd .. && rm -rf custom-presence

🚀 Usage

First you will need to create an application in the developer portal name it whatever you want, and copy the client ID.

You can upload images in the Rich Presence > Art Assets section

After doing that, edit the presence config with cp-cfg. Make sure you paste the client ID into the Client ID section. You can use the images that you uploaded earlier in the Large Image Name and Small Image Name section, leave them empty if you want no images.

If you are using the buttons, make sure to provide a valid URL that starts with http:// or https://

To start up the presence, run cp-run


🔎 Troubleshooting

If you can't see your presence:

  • Make sure that client ID is valid.
  • Make sure that cp-run is running
  • Make sure that you have Display current activity as status message set to ON in your discord settings. You can find this setting in: User Settings > Activity Privacy > Activity Status
  • If you still can't see your presence please create an issue