Skip to content

Shinyy1705/VAL_RPC

Repository files navigation

VAL_RPC

VAL_RPC is a Python-based Discord Rich Presence tool for Valorant.
It shows your peak rank and activity (e.g., coaching or playing) as your Discord status when Valorant is running.

Discord RPC Example


Features

  • Auto-detects if Valorant is running
  • Displays peak rank as small image icon
  • Shows status like "Coaching Valorant" (which you can customize)
  • Integrates with Discord using pypresence
  • Fetches player data using the HenrikDev Valorant API
  • Includes a join Discord button in your presence

Installation

1. Clone the repo

git clone https://github.com/Shinyy1705/VAL_RPC.git
cd VAL_RPC

2. Create and activate a virtual environment

python -m venv venv
# Activate:
# On Windows:
.env\Scripts\activate
# On macOS/Linux:
source venv/bin/activate

3. Install dependencies

pip install -r requirements.txt

Setup

  1. Go to the Discord Developer Portal
  2. Create a new application and note your Client ID
  3. Add Rich Presence assets (e.g., valorant-logo, rank icons like gold-3.png, etc.) into your Discord Bot
  4. Create a .env file in the root folder:
API_KEY=your_henrikdev_api_key
VALUSER=your_username
TAG=your_tag
CLIENTID=Discord Bot ID
BUTTONLINK=https://discord.gg/example  # Must start with https://

▶️ Running the App

Once everything is configured:

python main.py

VAL_RPC will automatically update your Discord status while Valorant is running.


🛠 File Structure

VAL_RPC/
├── api/
│   └── api.py         # Rank fetch logic
├── main.py            # Main loop + Rich Presence logic
├── requirements.txt
└── .env               # Your secrets (not committed)

Example Presence

Shows your peak rank and coaching status

  • Large icon: Valorant logo
  • Small icon: Your peak rank
  • Text: Peak Rank
  • Text2: Activity (can be customized in Main)
  • Button: "Join Discord"

Discord RPC Example2

📜 License

MIT License. Feel free to fork or modify.


🙋 Authors

Marcel and Tim
Discord: ShinyyVAL and snedx_valo

About

Valorant Discord RIch Presence Integration, Customizable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages