Skip to content

Simply python script to show currently training skill in Discord Status

License

Notifications You must be signed in to change notification settings

Nigel1992/RunePresence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunePresence

Formerly known as RuneScape 3 Discord Rich Presence Integration

RunePresence Banner

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.

RunePresence Preview

Just want to use it instantly? [Compiled .exe]

  1. Simply go to the releases tab and download the latest version.
  2. Extract all archive contents into a new folder.
  3. Run the .exe and input your info [will be auto saved/loaded (using settings.json)]
  4. Enjoy!

Changelog

Pre-release - Version 0.1 (2024-06-30)

  • Added a GUI for easier usage.
  • GUI will save your input after hitting "Start".

TO-DO

  1. Make the script read the current in-game level of detected skill and use in Discord Status.
  2. Let it recognize the skill without the need for screen coordinates.

Setup [Python Script]

Prerequisites

  1. Python 3.x installed on your system.
  2. A Discord account and a registered application with a client ID. [see spoiler for details]
How-to

Adding Discord Developer Assets

  1. Go to the Discord Developer Portal.
  2. Create a new application or select an existing one.
  3. Navigate to the “Rich Presence” tab.
  4. Scroll down to the “Assets” section.
  5. 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").
  6. You’ll need to provide a name for each asset. This name will be used when referencing the asset in your code.
  7. After uploading, you’ll see your assets listed under “Rich Presence Assets” on the same page.

Using Your Assets in Code

In your Python script (or any other language), use the asset names you provided in the developer portal.

Installation

  1. Clone this repository to your local machine.

  2. Install the required Python packages using pip:

    pip install pyautogui pypresence
  3. Replace 'REPLACEWITHYOURCLIENTID' in the script with your actual Discord application's client ID.

Usage

  1. Run the script:

    python Updater.py
  2. The script will monitor the specified region of your screen for the images you've added.

  3. When an image is detected, it will update your Discord Rich Presence status with the relevant activity name and a timer.

Customization

  • 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.

Notes

Made with help from AI. Feel free to modify and enhance this script according to your needs! 😊

Contact me on Discord: nigel.92

About

Simply python script to show currently training skill in Discord Status

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages