Turn your command names into kebabs.
Project description
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()
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 Distribution
Close
Hashes for crescent_ext_kebabify-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a6c227cf5e63a367019153f02122d6043c55b9e6b76ef5905d7680ecee1f444 |
|
MD5 | 0e8b83b3c7b8b9dcf28e6cf67862939c |
|
BLAKE2b-256 | 494cf40d7c6c79403b22531cdbef6a86e5bc6a322dfbcd930a12d58abe83ce19 |
Close
Hashes for crescent_ext_kebabify-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed3dad0ada8402f30b1373584e0a8d4eba8e14013cfcc6dfd05dc8488cd0e990 |
|
MD5 | 0014b39b515be6293c059cfdfa7b978c |
|
BLAKE2b-256 | 5216afe2f640aeb7dad5f169fa76f50cee7879dee4674a0c9afeaec9e1cc5c27 |