crescent-ext-kebabify-0.1.2
توضیحات
Turn your command names into kebabs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | crescent-ext-kebabify-0.1.2 |
| نام | crescent-ext-kebabify |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lunarmagpie |
| ایمیل نویسنده | Bambolambo0@gmail.com |
| آدرس صفحه اصلی | https://github.com/Lunarmagpie/crescent-ext-kebabify |
| آدرس اینترنتی | https://pypi.org/project/crescent-ext-kebabify/ |
| مجوز | MPL-2.0 |
# crescent-ext-kebabify
Turn your command names into kebabs.
## Installing
`pip install crescent-ext-kebabify`
## Example
```python
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()
```
نیازمندی
| مقدار | نام |
|---|---|
| >=0.5.0,<0.6.0 | hikari-crescent |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<3.12 | Python |
نحوه نصب
نصب پکیج whl crescent-ext-kebabify-0.1.2:
pip install crescent-ext-kebabify-0.1.2.whl
نصب پکیج tar.gz crescent-ext-kebabify-0.1.2:
pip install crescent-ext-kebabify-0.1.2.tar.gz