Skip to main content

Complete Discord RPC interface written in Python

Project description

DiscordRPC.py

A complete RPC interface for Discord's API.

Original code by qwertyquerty and LewdNeko

This whole thing is a big TODO right now...


Installation

Install from pip

Extending BaseClient

If you are looking to extend BaseClient and implement your own behaviour / set of endpoints, please remember to implement the following:

  • close - a way of tidying up any open files or the event loop
  • on_event - If you do not want events, this can just pass, but if you do then you must handle them accordingly. The only argument passed is data, a dictionary created from Discord's event structure. You must be subscribed to receive these.

How to Use

License

Code that is indifferent from pypresence v3.3.1 or earlier remains licensed under the MIT license and retain their copyright to the respective owner. Any changes that have been made are licensed and copyrighted under BSD 3-Clause "New" or "Revised" to LBots.

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

DiscordRPC.py-1.0.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

DiscordRPC.py-1.0.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file DiscordRPC.py-1.0.0.tar.gz.

File metadata

  • Download URL: DiscordRPC.py-1.0.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for DiscordRPC.py-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e2bc7e2a4a43703df26ca39e3161522d8490489e4f9a4f36082a1929d230110b
MD5 827636aae7d457feb8c913eb48208ed6
BLAKE2b-256 a5b791d68c07c459a7c36b9ddc96ba08efff073689a67449a4a9c21e81a8905b

See more details on using hashes here.

File details

Details for the file DiscordRPC.py-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: DiscordRPC.py-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for DiscordRPC.py-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 99e9fe48e3381fc88235675f108485c1876bc61ba632b2386e793e1249a8f404
MD5 3246493d4b22fac28b75895f6a5a556f
BLAKE2b-256 02941171538d88ec24292179690037db54a9565275010ababd259f7831b8b0ec

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