discord-api.py-1.0.0a9
توضیحات
This is discord-api wrapper.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discord-api.py-1.0.0a9 |
| نام | discord-api.py |
| نسخه کتابخانه | 1.0.0a9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | DMS |
| ایمیل نویسنده | masato190411@gmail.com |
| آدرس صفحه اصلی | https://github.com/tuna2134/discord-api.py |
| آدرس اینترنتی | https://pypi.org/project/discord-api.py/ |
| مجوز | - |
# discord-api.py
  [](https://github.com/tuna2134/discord-api.py/actions/workflows/py38-test.yml)
## introduction
This is discord api wrapper.
Easy to create a bot
## setup
```bash
discord-api setup main
```
## More fast
If you are not using windows and have installed cpython. I recommend using this.
```bash
pip install discord-api.py[speed]
```
## extension
If you want to create extention module.
Please do like this name.
`discord-api-{name}`
## low wrapper
If you want to use low wrapper, please watch [this](https://github.com/tuna2134/discord-api.py/blob/main/discord_api/low/README.md).
## sample
```python
from discord_api import Client, Command
client = Client(log = False)
client.add_command(Command("ping", "pong."))
@client.event
async def on_ready():
print("ready")
@client.event
async def on_interaction(i):
await i.send("Pong!", True)
client.run("token")
```
## license
Watch a `LICENSE`!
## support
[Discord server](https://discord.gg/VpBs4zGC3z)

نیازمندی
| مقدار | نام |
|---|---|
| >=3.7.4 | aiohttp |
| >=1.35 | ujson |
| >=0.5.3 | uvloop |
نحوه نصب
نصب پکیج whl discord-api.py-1.0.0a9:
pip install discord-api.py-1.0.0a9.whl
نصب پکیج tar.gz discord-api.py-1.0.0a9:
pip install discord-api.py-1.0.0a9.tar.gz