A Discord bot for AWS Cloud Community's Internal Discord Server.
1. Clone this repo by running the below command.
git clone https://github.com/AWS-Cloud-Community-LPU/Discord-Bot.git
2. Now, run the following commands:
cd Discord-Bot
pip install -r requirements.txt
This will install all the project dependencies.
Note: Recommended way is to first create a virtual environment and then install the dependencies.
3. Configure Missing Files:
File: secrets.ini
touch secrets.ini
A file secrets.ini
is missing as it contains a token to access the HTTP API of Odin. The file is structured in this way:
[KEYS]
API_KEY = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
File: credentials.json
touch credentials.json
A file credentials.json
contains OAuth 2.0 Client IDs of Google Calendar API. Learn more about it here.
File: token.json
The file token.json
stores the user's access and refresh tokens, and is created automatically when the authorization flow completes for the first time.
4. 🎉 Run the bot:
python3 main.py
MIT © AWS Cloud Community LPU