Cordslash
cordslash is a WIP discord slash commands wrapper, that is built on the corded framework by vcokltfre. Expect more changes/features to be added in the future, currently undocumented but will be soon PR's are welcome
MAKE SURE TO INSTALL CORDED OTHERWISE USE THE POETRY ENV
example.py
import corded
import cordslash
intents = corded.Intents.default()
intents.guild_members = True
bot = cordClient(token="BOT_TOKEN", app_id=BOT_ID, intents=intents)
@bot.command(name="wave", guild_ids=[12345678910], description="Say hello to a user")
async def wave(ctx: cordslash.Context, user: cordslash.User) -> None:
await ctx.send(f":wave: <@{user}>!")
bot.start()
Release files for cordslash 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cordslash-0.1.3.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cordslash-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / cordslash-0.1.3.tar.gz
| Download URL | cordslash-0.1.3.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
973a2c6e2d794d0ad8d11abfc38a47d9fe01a789bc4f34bdcc4974f34839608f
|
|
BLAKE2b-256 checksum How to use checksums |
11c6ed7dd7b59710905a2f8e7911afb30de6fefea6490df44b63d24886d21aa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.0
|
Release files / cordslash-0.1.3-py3-none-any.whl
| Download URL | cordslash-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d607e4e809650420a3cb54fe42bb94ff062878ba63eb64b924b8542e162e305
|
|
BLAKE2b-256 checksum How to use checksums |
ad6f0bfcab4bf4e777955de8d1229b5c405a8245226f4e3d4d99868839daf2bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.0
|