Asynchronous Python API wrapper for the Discord Gateway API and Discord REST API.
Project description
Discode
Discode is an asynchronous Python API wrapper for the Discord REST and Gateway API. This project was inspired by Discord.py and may contain similar functioning.
Basic Example Usage
import discode
client = discode.Client()
# the coroutine under the decorator
# can have any name you wish to use
@client.on_event("ready")
async def ready():
print(f"{client.user} is ready!")
@client.on_event("message")
async def message(message: discode.Message):
content = message.content
if content.startswith("?hi"):
await message.channel.send("Hiii!!!")
client.start("YOUR-TOKEN-HERE")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Discode.py-1.1.1.tar.gz.
File metadata
- Download URL: Discode.py-1.1.1.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04e1f68ca13eb126530bd54e3f241bca7a347f7db4a25435dddeb4ce3c1812f8
|
|
| MD5 |
d865ab235874d3067e3dde3350b89b00
|
|
| BLAKE2b-256 |
3a0749057f9459222077e3ba830474a0f8012d9a95b691b7aea94d1f9b72dd56
|
File details
Details for the file Discode.py-1.1.1-py3-none-any.whl.
File metadata
- Download URL: Discode.py-1.1.1-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc8db6f86e9096dba98ddeee7fb352c583d9ecda8a54487eb0fb823bc55e4402
|
|
| MD5 |
0a16e93ee98cf2f749a3adf7b841689b
|
|
| BLAKE2b-256 |
69581295e9f206b900cb96fdb6ab06b1355b540dd28fba6f9bfcd13c2d7fcbab
|
File details
Details for the file DisCode.py-1.1.1-py3-none-any.whl.
File metadata
- Download URL: DisCode.py-1.1.1-py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/3.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1fc61f58fcbdf2dea2c24c92d2ceb4d1d8c100399dfc6aaec41d39d697eb1702
|
|
| MD5 |
1e4bd87a7c543f70bd8562602590d209
|
|
| BLAKE2b-256 |
1768eecc93702a0d6c0c4c5d285251c88ae92568358eb5bfebc3899ce08fba1f
|