discord-limits-1.1.2
توضیحات
Make requests API requests to Discord without having to worry about ratelimits.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | discord-limits-1.1.2 |
| نام | discord-limits |
| نسخه کتابخانه | 1.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | ninjafella |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/ninjafella/discord-API-limits |
| آدرس اینترنتی | https://pypi.org/project/discord-limits/ |
| مجوز | MIT |
[](https://discord-limits.readthedocs.io/en/latest/?badge=latest)
[](https://img.shields.io/badge/Version-v1.1.2-blue)
# discord_limits
### A simple library to asynchronously make API requests to Discord without having to worry about ratelimits.
<br>
### Currently this library has only been tested on Python 3.9
---
# Basic usage
```py
import discord_limits
import os
import asyncio
limitsClient = discord_limits.DiscordClient(os.environ.get('TOKEN'))
async def main():
await limitsClient.create_message(123456789012345678, content='Hello World!')
asyncio.get_event_loop().run_until_complete(main())
```
---
### Requires:
- [aiolimiter](https://pypi.org/project/aiolimiter/)
- [aiohttp](https://pypi.org/project/aiohttp/)
---
### Based off of:
- [unbelipy](https://github.com/chrisdewa/unbelipy)
- [discord.py](https://github.com/Rapptz/discord.py)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl discord-limits-1.1.2:
pip install discord-limits-1.1.2.whl
نصب پکیج tar.gz discord-limits-1.1.2:
pip install discord-limits-1.1.2.tar.gz