GithubHelp home page GithubHelp logo

mealdoits / discord-rich-presence Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 0.0 8 KB

Rich Presence for your Discord status

Python 100.00%
discord discord-rich discord-rich-presence discord-richpresence discord-status discord-status-changer rich-presence-discord

discord-rich-presence's Introduction

CustomRP - Discord Rich Presence

Python script designed to offer you the flexibility to showcase a fully customizable status (rich presence) on Discord. By leveraging the pypresence library, users can dynamically update their Discord presence with a variety of details, including project status, current activity, and more. This README provides all necessary details to get started, customize, and use the script effectively.

Features!

  • Multiple Rich Presence Configurations: Configure and cycle through multiple rich presence settings as defined in a config.json file.
  • Dynamic Presence Updates: Automatically update your Discord presence at specified intervals.
  • Customizable Elements: Set detailed states, images, buttons, and more for each rich presence configuration.
  • Interactive Commands: Control the script in real-time using command-line inputs.
  • Extensive Customization: Utilize a wide array of parameters for rich presence, including details, state, images, and clickable buttons linking to external URLs.

The config.json file is where you define your rich presence configurations. Here's a breakdown of the file structure:

  • application_id: Your Discord application ID.
  • timer_interval: The interval (in seconds) at which the rich presence updates cycle through the configured messages.
  • message_sets: An array of message configurations, each with the following fields:
  • name: A unique identifier for the configuration.
  • details, state: Text fields for setting the user's current activity.
  • large_image, small_image: URLs or keys for the images to display.
  • large_text, small_text: Hover texts for the images.
  • buttons: An array of buttons, each with a label and a url.
  • party_size: (Optional) Displays the current and maximum size of a party.
  • startTimestamp, endTimestamp: (Optional) Timestamps to show elapsed or remaining time.

Refer to the provided config.json example for more detailed configurations.

Usage

  • Start the Script: Navigate to the script's directory in a terminal or command prompt and execute the script:
python main.py

Use Commands:

Once the script is running, it will prompt you for commands. Use the help command to see all available options:

  • start: Initiates the rich presence update process.
  • stop: Halts any ongoing rich presence updates.
  • mode <all|multi|single>: Sets the update mode to cycle through all configured messages, stick to a single one or choose multiple ones.
  • timer <seconds>: Adjusts the interval between updates.
  • appid <application_id>: Updates the Discord application ID used for the rich presence.
  • help: Displays a list of available commands.
  • info: Information about your current setup.
  • about: Shows information about the script.
  • quit: Exits the script.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests.

License

This project is open-source and available under the MIT License. See the LICENSE file for more details.

Disclaimer

This script is not affiliated with or endorsed by Discord. Use this script responsibly and in accordance with Discord's guidelines and terms of service.

discord-rich-presence's People

Stargazers

Cashy avatar  avatar Bramharishi Shukla avatar Sheirla avatar galaxyutop144 avatar  avatar  avatar  avatar  avatar  avatar Kobe_Gaming avatar Mario Berrón avatar Drossy avatar  avatar  avatar

Watchers

Aldo Saputra avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.