deta-discord-interactions-0.0.3
توضیحات
A web framework for Discord interactions specialized for usage in https://deta.sh
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | deta-discord-interactions-0.0.3 |
| نام | deta-discord-interactions |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | etrotta |
| ایمیل نویسنده | etrotta <etrotta@duck.com> |
| آدرس صفحه اصلی | https://github.com/etrotta/flask-discord-interactions/tree/deta |
| آدرس اینترنتی | https://pypi.org/project/deta-discord-interactions/ |
| مجوز | MIT |
# Deta-Discord-Interactions
This is a small web framework that lets you write Discord Application Commands using a decorator syntax similar to Flask's `@app.route()` or Discord.py's `@bot.command()`, specialized for usage in https://deta.sh
It is a fork of [flask-discord-interactions](https://pypi.org/project/Flask-Discord-Interactions/), but without requiring Flask and with some added features to make the usage of the library simpler.
```
@app.command()
def ping(ctx):
"Respond with a friendly 'pong'!"
return "Pong!"
```
The documentation of the original library is available on [readthedocs](https://flask-discord-interactions.readthedocs.io/).
The documentation of the Fork is still Work in Progress.
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
| - | PyNaCl |
| - | requests-toolbelt |
| - | deta |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl deta-discord-interactions-0.0.3:
pip install deta-discord-interactions-0.0.3.whl
نصب پکیج tar.gz deta-discord-interactions-0.0.3:
pip install deta-discord-interactions-0.0.3.tar.gz