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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5704a3cbfe9cb05d88bbd17f62920eb7adb9514f9ab2728821a6f4d17c7a095a |
|
MD5 | 9aae21ef94886a357c521814045de818 |
|
BLAKE2b-256 | 7f474354e8cdd2d2192736c538cf5b9f5026dedee7229ee237dd014f4779889e |
Close
Hashes for crescent_ext_kebabify-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 866736d28a54078386395b9f6ab93e7a3fea3527f61c1cd37a518feb0992af87 |
|
MD5 | adc24904aa2929d61be03dc6f14f5f73 |
|
BLAKE2b-256 | 838075bc7ed37b16b8c8e3636dfffb1c3a19cb187ab693957f5110fc4899e732 |