Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crescent_ext_kebabify-0.1.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

crescent_ext_kebabify-0.1.2-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file crescent_ext_kebabify-0.1.2.tar.gz.

File metadata

  • Download URL: crescent_ext_kebabify-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.8.16 Linux/5.15.0-1031-azure

File hashes

Hashes for crescent_ext_kebabify-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0a6c227cf5e63a367019153f02122d6043c55b9e6b76ef5905d7680ecee1f444
MD5 0e8b83b3c7b8b9dcf28e6cf67862939c
BLAKE2b-256 494cf40d7c6c79403b22531cdbef6a86e5bc6a322dfbcd930a12d58abe83ce19

See more details on using hashes here.

File details

Details for the file crescent_ext_kebabify-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for crescent_ext_kebabify-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ed3dad0ada8402f30b1373584e0a8d4eba8e14013cfcc6dfd05dc8488cd0e990
MD5 0014b39b515be6293c059cfdfa7b978c
BLAKE2b-256 5216afe2f640aeb7dad5f169fa76f50cee7879dee4674a0c9afeaec9e1cc5c27

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page