Skip to content

Senophyx/Discord-RPC

Repository files navigation

Visitors Discord Total Downloads PyPI PyPI - Status GitHub commit activity

Discord RPC

An Python wrapper for Discord RPC API. Allow you to make own custom RPC.

Changelog

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
Pukima

🐛
k9er
k9er

📖
Kale
Kale

🐛
TaIFeel
TaIFeel

💻
Jesusaves
Jesusaves

🐛
Dipesh Aggarwal
Dipesh Aggarwal

💻

Links

Licence & Copyright

This Project under MIT License
Copyright (c) 2021-2024 Senophyx