File | Date | Author | Commit |
---|---|---|---|
.github | 2024-03-15 |
![]() |
[74783a] Update FUNDING.yml |
LICENSE | 2024-03-01 |
![]() |
[4e8050] Initial commit |
README.md | 2024-04-06 |
![]() |
[6150b0] Updated README.md |
config.json | 2024-03-07 |
![]() |
[a613b6] Rename config.py to config.json |
main.py | 2024-03-07 |
![]() |
[03b355] Updated main.py |
requirements.txt | 2024-03-01 |
![]() |
[0fe545] Created requirements.txt |
config.json
file.Install Python: Download and install Python 3.6 or newer from the official Python website.
Install pypresence: Open a terminal or command prompt and install the pypresence library using pip:
pip install pypresence
config.json
file to your desired directory.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.
python main.py
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.Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit pull requests.
This project is open-source and available under the MIT License. See the LICENSE file for more details.
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.