divent-3.4.0
توضیحات
The discord scheduled event calendar generator
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | divent-3.4.0 |
| نام | divent |
| نسخه کتابخانه | 3.4.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Xéfir Destiny |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://divent.crystalyx.net/ |
| آدرس اینترنتی | https://pypi.org/project/divent/ |
| مجوز | WTFPL |
# Divent
> The discord scheduled event calendar generator
[](https://ci.crystalyx.net/Xefir/Divent)
[](https://hub.docker.com/r/xefir/divent)
Simple website that guides you to invite a bot to read and format scheduled events to a subscribable calendar.
## Installing / Getting started
### 1) Create the bot
- Go to the [Discord Developer Portal](https://discord.com/developers/applications) and create a new application.
- Enable the `Build-A-Bot` option in the `Bot` panel.
- Click on `Reset Token` and keep it in a safe place, you will need it.
- Click on `Reset Secret` in the `OAuth2` panel, copy both `Client ID` and `Client Secret` and keep it in a safe place, you will need it.
- Configure the rest of your app and bot as you like (name, icon, username, etc.)
### 2) With Docker
- Install [Docker](https://docs.docker.com/get-docker/)
- Run
```bash
docker run -p 5000 \
-e DISCORD_TOKEN=your_bot_token \
-e OAUTH2_CLIENT_ID=your_client_id \
-e OAUTH2_CLIENT_SECRET=your_client_secret \
xefir/divent
```
### 2) Without Docker
- Install [Python 3](https://www.python.org/downloads/)
- Install [Pip](https://pip.pypa.io/en/stable/installation/)
- Run `pip install divent`
- Run
```bash
DISCORD_TOKEN=your_bot_token \
OAUTH2_CLIENT_ID=your_client_id \
OAUTH2_CLIENT_SECRET=your_client_secret \
divent
```
### 3) Open your browser
The app is accessible at http://localhost:5000
## Links
- [Project homepage](https://divent.crystalyx.net/)
- [Source repository](https://git.crystalyx.net/Xefir/Divent)
- [Issue tracker](https://git.crystalyx.net/Xefir/Divent/issues)
- [My other projects](https://git.crystalyx.net/Xefir)
- [The WTFPL licence](http://www.wtfpl.net/)
- [Docker hub](https://hub.docker.com/r/xefir/divent)
- [Pypi](https://pypi.org/project/Divent/)
- [Donations](https://paypal.me/Xefir)
نیازمندی
| مقدار | نام |
|---|---|
| >=2.8.1,<3.0.0 | disnake |
| ==0.8.0.dev0 | ics |
| >=1.0.0,<2.0.0 | python-dotenv |
| >=0.18.3,<0.19.0 | quart |
| >=1.3.1,<2.0.0 | requests-oauthlib |
| >=1.19.1,<2.0.0 | sentry-sdk |
| >=0.21.1,<0.22.0 | uvicorn |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl divent-3.4.0:
pip install divent-3.4.0.whl
نصب پکیج tar.gz divent-3.4.0:
pip install divent-3.4.0.tar.gz