mirror of
https://github.com/developersIndia/deviras.git
synced 2024-11-26 16:52:14 +05:30
Beautify README.md
- Better Indentation
This commit is contained in:
parent
bd1db29d85
commit
d554b6f1fb
@ -3,12 +3,11 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Description:
|
### Description:
|
||||||
|
|
||||||
This script creates events across -
|
This script creates events across -
|
||||||
1. [Google Calendar](https://developersindia.in/events-calendar/)
|
1. [Google Calendar](https://developersindia.in/events-calendar/)
|
||||||
2. [Discord](https://discord.com/channels/669880381649977354/)
|
2. [Discord](https://discord.com/channels/669880381649977354/)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### FIRST TIME SETUP
|
### FIRST TIME SETUP
|
||||||
@ -18,17 +17,24 @@ This script creates events across -
|
|||||||
2. Install required packages `pip install -r packages.txt`
|
2. Install required packages `pip install -r packages.txt`
|
||||||
|
|
||||||
3. Add respective tokens in the `.env` file
|
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 Discord Bot token (Get it from [Discord Developers portal](https://discord.com/developers/applications/)) (bot must have MANAGE_EVENT & CREATE_EVENT permission)
|
||||||
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.
|
|
||||||
|
|
||||||
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.
|
> - A file `token.json` will be downloaded automatically, and no web login will be needed afterwards.
|
||||||
|
|
||||||
<!-- END -->
|
<!-- END -->
|
||||||
|
Loading…
Reference in New Issue
Block a user