A personal git helper discord bot for your github repository
Back and forth github links about issues and pull requests between team memebers. Results in too many links in discord, things can get lost easily, and a lot of time can be wasted
A build in discord bot that guides the chat participants on specific issues, pull requests and comments on the specific git repositories that they are working on
User (on Discord) <--> Discord API <--> Chatbot (Discord Bot)
|
--> OpenAI API (for generating responses and learning from conversations)
|
--> GitHub Token (for scanning Github repository information)
- Discord Bot Setup and a Discord Token
- Access token for your Github Account
- OpenAI API Key for OpenAI integration
- Python ~
3.9.7
Configure the .env using the .env.template
file
cp .env.template .env
Example:
OPENAI_API_KEY=your-openai-api-key
DISCORD_TOKEN=your-bot-token
GITHUB_ACCESS_TOKEN=your-github-access-token
OUTPUT_FILE=data/git_output_file.txt
REPO_NAME=repo-owner/repo-name
pip install -r requirements.txt
python bot.py
Or just use docker-compose
docker-compose up -d