crescent-ext-kebabify
Turn your command names into kebabs.
Installing
pip install crescent-ext-kebabify
Example
import crescent
from crescent.ext import kebab
bot = crescent.Bot("TOKEN")
# Make this command's name `my-class-command`
@bot.include
@kebab.ify
@crescent.command
class MyClassCommand:
async def callback(self, ctx: crescent.Context):
...
# Make this command's name `my-function-command`
@bot.include
@kebab.ify
@crescent.command
async def my_function_commannd(ctx: crescent.Context):
...
bot.run()
Metadata
Release files for crescent-ext-kebabify 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| crescent_ext_kebabify-0.1.2.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crescent_ext_kebabify-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / crescent_ext_kebabify-0.1.2.tar.gz
| Download URL | crescent_ext_kebabify-0.1.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a6c227cf5e63a367019153f02122d6043c55b9e6b76ef5905d7680ecee1f444
|
|
BLAKE2b-256 checksum How to use checksums |
494cf40d7c6c79403b22531cdbef6a86e5bc6a322dfbcd930a12d58abe83ce19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1031-azure
|
Release files / crescent_ext_kebabify-0.1.2-py3-none-any.whl
| Download URL | crescent_ext_kebabify-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed3dad0ada8402f30b1373584e0a8d4eba8e14013cfcc6dfd05dc8488cd0e990
|
|
BLAKE2b-256 checksum How to use checksums |
5216afe2f640aeb7dad5f169fa76f50cee7879dee4674a0c9afeaec9e1cc5c27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1031-azure
|