Skip to main content

An Python wrapper for Discord RPC

Project description

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

💻
Maxsspeaker
Maxsspeaker

💻
Fixator10
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)

Uploaded Source

Built Distribution

discord_rpc-5.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

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

Hashes for discord_rpc-5.1.tar.gz
Algorithm Hash digest
SHA256 cb6e8745ec0657d1beae34d87c3e7180251dcdef67fab78bd5aaa0e43708c468
MD5 113ec88b3e70fe897b07c05b4f624540
BLAKE2b-256 8757e2f3f07f526ecfe90e2270b34ecb67988ab47bdc1af8cc198090f246b071

See more details on using hashes here.

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

Hashes for discord_rpc-5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 326636254bc1fcc008c59152ac84d733f7be9418f0170294785eb87dad69625c
MD5 e9fc85e5ba025aaddeca32bf7d848fdc
BLAKE2b-256 5bc19ba9c040faf5c2f34a9b763e9a6548feeb275a903e8cae747492d3b0f1f6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page