Make Discord API calls 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.
Basic usage
import discord_limits
import asyncio
limits_client = discord_limits.DiscordClient("YOUR_TOKEN", "bot")
async def main():
await limits_client.channel.create_message("CHANNEL_ID", "Hello World!")
asyncio.run(main())
Requires:
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-2.0.2.tar.gz
(23.3 kB
view details)
File details
Details for the file discord_limits-2.0.2.tar.gz.
File metadata
- Download URL: discord_limits-2.0.2.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82519a006836364c507cfed2ebc861555c56fdcfb24d5c7192d282be11cfc612
|
|
| MD5 |
bc1a0973293d597d20973ce2c36e84f7
|
|
| BLAKE2b-256 |
cc4bde739d6241c92b3906ca11a8a33711e2d4769b229394bc165d3ff8138308
|