Skip to content

hikari-crescent/crescent-ext-kebabify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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()

About

๐ŸŒ™ Turn your command names into kebabs.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages