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
client = discord_limits.DiscordClient(os.environ.get('TOKEN'))
channel_id = 123456789012345678
await client.send_message(channel_id, content="Hello, world!")
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.0.0.tar.gz
(21.4 kB
view details)
File details
Details for the file discord_limits-1.0.0.tar.gz.
File metadata
- Download URL: discord_limits-1.0.0.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87693cf9dc2c4bb6d7cf5aba3ff14e5dc8cdbb19921103de2c58022353bf049b
|
|
| MD5 |
2760af23fb87b411ad3486c8c27b5fa8
|
|
| BLAKE2b-256 |
135a24eaf2e21c9a136e02c1a8363da6b10ac4a97bb509f009721ff54d465676
|