This Bot monitors your Github repos and posts information about changes in your Discord channel.
It uses the PyGithub and discord.py modules for interacting with the API.
Before using the App, you have to register an Discord-Application and add the Bot to the server to obtain the DISCORD_TOKEN.
Create the GITHUB_TOKEN on your GitHub account.
This is a microservice for running on K8s.
Do the configuration in the k8s_stack.yaml
.
Then apply the Kubernetes Manifest: kubectl apply -f k8s_stack.yaml
.
python runner.py
docker build -t discord-bot:latest .
docker run -d \
-e REPO_LIST="xamma/testrepo123, xamma/testrepo234" \
-e DISCORD_TOKEN="SECRET" \
-e GITHUB_TOKEN="SECRET" \
-e DISCORD_CHANNEL_ID=1082199072984797245 \
discord-bot:latest