DiscordRPC.py-1.0.0
توضیحات
Complete Discord RPC interface written in Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | DiscordRPC.py-1.0.0 |
| نام | DiscordRPC.py |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | LBots |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/lbots/DiscordRPC.py |
| آدرس اینترنتی | https://pypi.org/project/DiscordRPC.py/ |
| مجوز | MIT |
# DiscordRPC.py
A complete RPC interface for Discord's API.
_Original code by [qwertyquerty and LewdNeko](https://github.com/qwertyquerty/pypresence)_
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](https://github.com/qwertyquerty/pypresence) 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.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl DiscordRPC.py-1.0.0:
pip install DiscordRPC.py-1.0.0.whl
نصب پکیج tar.gz DiscordRPC.py-1.0.0:
pip install DiscordRPC.py-1.0.0.tar.gz