Turn your command names into kebabs.
Project description
crescent-ext-kebabify
Turn your command names into kebabs.
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):
...
Installing
requires current git version of crescent
install this library from git
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eddfe7d70fd5e458d625269a1f68d63bb50356ff8e6ca2613315027fe9605298 |
|
MD5 | 9c9a0156ae14e1ff9e6659538054db35 |
|
BLAKE2b-256 | 69f14f23809b79b5e4c08025e748dca552d7d6e3dbb64a8dce5f5938eec6e225 |
Close
Hashes for crescent_ext_kebabify-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c38389019d7f3ae85b2cd0addf1f4948c7d6ae53dec5cf72970fecab6e31e8 |
|
MD5 | 4bf29f00143625c659cd9614b190827e |
|
BLAKE2b-256 | 0b4cc501e92d58b5b6c4a3f42d0247eaa117fb6975e47bcf6a0436a77944abdd |