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.0.tar.gz
(21.5 kB
view details)
File details
Details for the file discord_limits-1.1.0.tar.gz.
File metadata
- Download URL: discord_limits-1.1.0.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 |
7177a4ed012dbd94e92dc2c16274c9f8b543e01f085e4b61cb20ea78099c69ea
|
|
| MD5 |
14ba8d6999402f38d7d6c1fc3edb6a40
|
|
| BLAKE2b-256 |
c603c6978dca0798dd32cfe6817b08b45f0e8630f82d50b9838629773d437bc0
|