An Python wrapper for Discord RPC
Project description
Discord RPC
An Python wrapper for Discord RPC API. Allow you to make own custom RPC.
Install
- PyPI
pip install discord-rpc
Quick example
import discordrpc
rpc = discordrpc.RPC(app_id=12345678910)
rpc.set_activity(
state="A super simple rpc",
details="simple RPC"
)
# Required if you only run Discord RPC on this file or current instance.
rpc.run()
rpc.run()
is only used if you are only running Discord RPC on the current file/instance. If there are other programs/tasks on the current instance, rpc.run()
does not need to be used.
See documentation here.
More examples here.
Contributors
Big thanks for contributors who help this project keep updated, and maintained.
Pukima 🐛 |
k9er 📖 |
Kale 🐛 |
TaIFeel 💻 |
Jesusaves 🐛 |
Dipesh Aggarwal 💻 |
Maxsspeaker 💻 |
Fixator10 📖 |
Links
Licence & Copyright
This Project under MIT License
Copyright (c) 2021-2024 Senophyx
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
discord_rpc-5.1.tar.gz
(7.3 kB
view details)
Built Distribution
File details
Details for the file discord_rpc-5.1.tar.gz
.
File metadata
- Download URL: discord_rpc-5.1.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb6e8745ec0657d1beae34d87c3e7180251dcdef67fab78bd5aaa0e43708c468 |
|
MD5 | 113ec88b3e70fe897b07c05b4f624540 |
|
BLAKE2b-256 | 8757e2f3f07f526ecfe90e2270b34ecb67988ab47bdc1af8cc198090f246b071 |
File details
Details for the file discord_rpc-5.1-py3-none-any.whl
.
File metadata
- Download URL: discord_rpc-5.1-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326636254bc1fcc008c59152ac84d733f7be9418f0170294785eb87dad69625c |
|
MD5 | e9fc85e5ba025aaddeca32bf7d848fdc |
|
BLAKE2b-256 | 5bc19ba9c040faf5c2f34a9b763e9a6548feeb275a903e8cae747492d3b0f1f6 |