Flask-Discord-Interactions-2.1.2
توضیحات
A Flask extension for Discord slash commands.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Flask-Discord-Interactions-2.1.2 |
| نام | Flask-Discord-Interactions |
| نسخه کتابخانه | 2.1.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Brooke Chalmers |
| ایمیل نویسنده | breq@breq.dev |
| آدرس صفحه اصلی | https://github.com/breqdev/flask-discord-interactions |
| آدرس اینترنتی | https://pypi.org/project/Flask-Discord-Interactions/ |
| مجوز | - |
# Flask-Discord-Interactions
This is a Flask extension that lets you write Discord Application Commands using a decorator syntax similar to Flask's `@app.route()` or Discord.py's `@bot.command()`.
```
@discord.command()
def ping(ctx):
"Respond with a friendly 'pong'!"
return "Pong!"
```
Full documentation is available on [readthedocs](https://flask-discord-interactions.readthedocs.io/).
نیازمندی
| مقدار | نام |
|---|---|
| - | Flask |
| - | requests |
| - | PyNaCl |
| - | requests-toolbelt |
| - | Quart |
| - | aiohttp |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl Flask-Discord-Interactions-2.1.2:
pip install Flask-Discord-Interactions-2.1.2.whl
نصب پکیج tar.gz Flask-Discord-Interactions-2.1.2:
pip install Flask-Discord-Interactions-2.1.2.tar.gz