Oauth Anthentication #48
@ -13,12 +13,13 @@ Simple website that guides you to invite a bot to read and format scheduled even
|
||||
- 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 `docker run -p 5000 -e DISCORD_TOKEN=your_bot_token xefir/divent`
|
||||
- Run `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`
|
||||
- The app is accessible at http://localhost:5000
|
||||
|
||||
### 2) Without Docker
|
||||
@ -26,7 +27,7 @@ Simple website that guides you to invite a bot to read and format scheduled even
|
||||
- Install [Python 3](https://www.python.org/downloads/)
|
||||
- Install [Pip](https://pip.pypa.io/en/stable/installing/)
|
||||
- Run `pip install divent`
|
||||
- Run `DISCORD_TOKEN=your_bot_token divent`
|
||||
- Run `DISCORD_TOKEN=your_bot_token OAUTH2_CLIENT_ID=your_client_id OAUTH2_CLIENT_SECRET=your_client_secret divent`
|
||||
- The app is accessible at http://localhost:5000
|
||||
|
||||
## Links
|
||||
|
Loading…
Reference in New Issue
Block a user