Formerly known as RuneScape 3 Discord Rich Presence Integration
This Python script allows you to display your RuneScape 3 activities on your Discord profile using Rich Presence. It monitors a specific region of your screen for in-game images and updates your Discord status accordingly.
- Simply go to the releases tab and download the latest version.
- Extract all archive contents into a new folder.
- Run the .exe and input your info [will be auto saved/loaded (using settings.json)]
- Enjoy!
- Added a GUI for easier usage.
- GUI will save your input after hitting "Start".
- Make the script read the current in-game level of detected skill and use in Discord Status.
- Let it recognize the skill without the need for screen coordinates.
- Python 3.x installed on your system.
- A Discord account and a registered application with a client ID. [see spoiler for details]
How-to
- Go to the Discord Developer Portal.
- Create a new application or select an existing one.
- Navigate to the “Rich Presence” tab.
- Scroll down to the “Assets” section.
- Click on “Add Image(s)” to upload your custom images (these can be icons, logos, or other graphics) (this will be your Logo below "Playing a game").
- You’ll need to provide a name for each asset. This name will be used when referencing the asset in your code.
- After uploading, you’ll see your assets listed under “Rich Presence Assets” on the same page.
In your Python script (or any other language), use the asset names you provided in the developer portal.
-
Clone this repository to your local machine.
-
Install the required Python packages using pip:
pip install pyautogui pypresence
-
Replace
'REPLACEWITHYOURCLIENTID'
in the script with your actual Discord application's client ID.
-
Run the script:
python Updater.py
-
The script will monitor the specified region of your screen for the images you've added.
-
When an image is detected, it will update your Discord Rich Presence status with the relevant activity name and a timer.
- Adjust the
region
variable in the script to match the coordinates of the area where you expect the RuneScape 3 activity images to appear. - Update the emojis with the appropriate emoji and activity names for your images.
- Make sure your Discord application is running while using this script.
- You can customize the large image key (e.g.,
'rslogo'
) to match your Discord assets. See: https://discord.com/developers/applications/YOURAPPID/rich-presence/assets
Made with help from AI. Feel free to modify and enhance this script according to your needs! 😊
Contact me on Discord: nigel.92