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.1.tar.gz
(23.3 kB
view details)
File details
Details for the file discord_limits-2.0.1.tar.gz.
File metadata
- Download URL: discord_limits-2.0.1.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 |
e4e33c6fd357bb4d89f284e98e4c3228c4c7edfdb20a8264d9f8438c07b6ff0b
|
|
| MD5 |
6601b288aa160f5db1650d98308ced42
|
|
| BLAKE2b-256 |
8b97f7f7fafdbdbee69cf24ae40aabe9668e7b7e407d1ba46020ed6342e506c3
|