Minimal Discord bot library for Python
Project description
ucord
Ucord is a discord library build using threads for maximum performance
Bot example
import ucord
client = ucord.Client()
client.set_token("token")
client.run()
@client.on_ready
def on_ready(client):
print(f"Logged in as {client.user}")
@client.slash_command(name="ping", description="Ping command")
def ping(ctx):
embed = ucord.Embed(title="Pong!", description="Pong!")
ctx.reply("Bot is online", embed=embed)
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
ucord-0.0.3.tar.gz
(17.8 kB
view details)
Built Distribution
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
ucord-0.0.3-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file ucord-0.0.3.tar.gz.
File metadata
- Download URL: ucord-0.0.3.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7005ecc1c76e14cb2b44aeae5be93fb4fb9432203c17d7c5a92eec5ca838910b
|
|
| MD5 |
f32f8f474e55c3de22eeaab0a5c0e054
|
|
| BLAKE2b-256 |
cad62a95c2817c061f95832cd5325c449ec6e3073055ae1056d2601ed8d9717a
|
File details
Details for the file ucord-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ucord-0.0.3-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3c58980dd6c7dda7bd8cdadf833a4fe458d0786cef5c5acfefcb83457bce6d3
|
|
| MD5 |
db923946649cbc8dea75f4a8e3ebb929
|
|
| BLAKE2b-256 |
648ec68b9de39915a2dd7944610afb34f7bda91c79a593b12ae43bf2811dc44e
|