An Python wrapper for Discord RPC API. Allow you to make own custom RPC.
- PyPI
pip install discord-rpc
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.
More examples here.
Big thanks for contributors who help this project keep updated, and maintained.
Pukima 🐛 |
k9er 📖 |
Kale 🐛 |
TaIFeel 💻 |
Jesusaves 🐛 |
Dipesh Aggarwal 💻 |
Maxsspeaker 💻 |
Fixator10 📖 |
SleepyStatic 💻 |
Super Zombi 💻 |
This Project under MIT License
Copyright (c) 2021-2025 Senophyx