From d554b6f1fba769e73d5338256b4db1fbc668beaf Mon Sep 17 00:00:00 2001 From: Rachit Agrawal <111473259+Rancho-rachit@users.noreply.github.com> Date: Thu, 18 Apr 2024 09:04:25 +0530 Subject: [PATCH] Beautify README.md - Better Indentation --- event-discord-google_calender/README.md | 30 +++++++++++++++---------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/event-discord-google_calender/README.md b/event-discord-google_calender/README.md index 6bdb68e..a1243a2 100644 --- a/event-discord-google_calender/README.md +++ b/event-discord-google_calender/README.md @@ -3,12 +3,11 @@ --- -## Description: +### Description: This script creates events across - 1. [Google Calendar](https://developersindia.in/events-calendar/) 2. [Discord](https://discord.com/channels/669880381649977354/) - --- ### FIRST TIME SETUP @@ -18,17 +17,24 @@ This script creates events across - 2. Install required packages `pip install -r packages.txt` 3. Add respective tokens in the `.env` file - 2.1 Discord Bot token (Get it from [Discord Developers portal](https://discord.com/developers/applications/)) (bot must have MANAGE_EVENT & CREATE_EVENT permission) - 2.2 Guild ID (developersIndia => 1229786646468362260) -3. Connect Google Calender through [Google cloud Console](https://console.cloud.google.com/) - 3.1 Create a Project on Google Cloud Console - 3.2 Search for Calender API and enable it - 3.3 Create Credentials -> OAuth Client ID -> Application type as Desktop - 3.4 Download the Json file - 3.5 Rename that JSON file as `credentials.json` and save it to the project directory. + 3.1 Discord Bot token (Get it from [Discord Developers portal](https://discord.com/developers/applications/)) (bot must have MANAGE_EVENT & CREATE_EVENT permission) -4. `python3 main.py` + 3.2 Guild ID (developersIndia => 1229786646468362260) + +4. Connect Google Calender through [Google cloud Console](https://console.cloud.google.com/) + + 4.1 Create a Project on Google Cloud Console + + 4.2 Search for Calender API and enable it + + 4.3 Create Credentials -> OAuth Client ID -> Application type as Desktop + + 4.4 Download the Json file + + 4.5 Rename that JSON file as `credentials.json` and save it to the project directory. + +5. `python3 main.py` --- @@ -38,4 +44,4 @@ This script creates events across - > > - A file `token.json` will be downloaded automatically, and no web login will be needed afterwards. - \ No newline at end of file +