Custom Activity for users on Discord
-
Download or clone this repository.
-
Install all requirements
pip install -r requirements.txt
This is how it will look -
-
Go to Discord Developer's site to create a new application.
-
Paste the client ID in
config.ini
file.[CLIENT] client_id=759023045418680320
-
You can upload image assets under Rich Presence -> Art Assets.
-
Edit
base_activity
fromapp.py
to your own custom text and images. Check Rich Presence -> Visualizer to see how the images work.base_activity = { 'details': 'Custom details', 'state' : 'Custom state', 'assets': { 'large_image': 'image_name', 'large_text': 'Image text', 'small_image': 'small_image_name', 'small_text': 'Small image text' }, 'party': { 'size': [1, 5] } }
-
Run the program
python app.py
Read the Wiki for discoIPC to see the available classes and methods and know how to use them.
Thanks to k3rn31p4nic for his discoIPC library.