/slack-bot

An AI Slack bot for your Github repository built using PR Pilot

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Slack Bot for PR Pilot

This repository contains a demo implementation of a Slack bot designed to integrate with PR Pilot via the /pilot slash command.

For more information, check out the blog post.

Demo Video

Watch the video

Prerequisites

  1. Follow the Slack Bolt Getting Started Guide to create your Slack app
  2. Install PR Pilot into your repository
  3. Create an API Key in your PR Pilot Dashboard

Installation

  1. Clone the repository.
  2. Install dependencies using pip install -r requirements.txt.
  3. Set up the necessary environment variables (SLACK_SIGNING_SECRET, SLACK_BOT_TOKEN, SLACK_APP_TOKEN, PR_PILOT_API_KEY).
  4. Run the bot using python app.py.

Usage

Use the /pilot command in Slack to interact with the bot. It will handle the command and provide feedback directly in Slack.