Make requests API requests to Discord without having to worry about ratelimits.
Project description
discord_limits
A simple library to asynchronously make API requests to Discord without having to worry about ratelimits.
Currently this library has only been tested on Python 3.9
Basic usage
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:
Based off of:
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
discord_limits-1.1.2.tar.gz
(21.5 kB
view details)
File details
Details for the file discord_limits-1.1.2.tar.gz.
File metadata
- Download URL: discord_limits-1.1.2.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a6860b96df4d2548a730559aebf489173b2899490cdf1d0baad0065495c4167
|
|
| MD5 |
bef5fae722562dcbc03823a7ca8982bf
|
|
| BLAKE2b-256 |
1798a9b5320ca0f9e34186c4280bf7f33dfe64f166d2c47ccce0182085b3a045
|