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.2.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.2-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file ucord-0.0.2.tar.gz.
File metadata
- Download URL: ucord-0.0.2.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 |
17c655305578d2a70ce67df523c87054d9eeff601fe5e4e1b66167440740705f
|
|
| MD5 |
189957bf878edb067a7faf41a06741b2
|
|
| BLAKE2b-256 |
9248b6c5d771aff50e6ade630c23f1f48c489d742f20c14b9f149bc46f3ef170
|
File details
Details for the file ucord-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ucord-0.0.2-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 |
a2bf41e96b7b02d6fe1eb30603ca1210b8f21ab1af6dd0855c95574db3facf1e
|
|
| MD5 |
da1a602675f29cb779287f85956666bb
|
|
| BLAKE2b-256 |
dc8ae829100346e050f8a9c03ad52bf6ac728a5b136dcb6bb68a098c914d30bd
|