From 1bb1827647ec37f3bafabc095f84fc16a01cdd4d Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Mon, 12 Sep 2022 18:06:43 +0000 Subject: [PATCH] Update README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76dd364..8a8e6df 100644 --- a/README.md +++ b/README.md @@ -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