/Discord-RPC

An Python wrapper for Discord RPC

Primary LanguagePythonMIT LicenseMIT

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.set_id(app_id=12345678910)

rpc.set_activity(
      state="pip install discord-rpc",
      details="Discord RPC"
    )

rpc.run()

Note that rpc.run() is only required to keep your program alive. If another task is doing so then it isn't required.

More examples here

Other

Join our Discord server here

Licence & Copyright

This Project under MIT License
Copyright (c) 2021-present EterNomm