https://github.com/enriquesoria/github_discord
🤖 Discord bot with a command to display unreviewed pull requests
https://github.com/enriquesoria/github_discord
bot cog cogs discord github pull-requests
Last synced: 4 months ago
JSON representation
🤖 Discord bot with a command to display unreviewed pull requests
- Host: GitHub
- URL: https://github.com/enriquesoria/github_discord
- Owner: EnriqueSoria
- License: mit
- Created: 2022-06-22T08:28:46.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-11-18T13:28:09.000Z (7 months ago)
- Last Synced: 2025-11-18T16:10:03.254Z (7 months ago)
- Topics: bot, cog, cogs, discord, github, pull-requests
- Language: Python
- Homepage:
- Size: 188 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GithubDiscordBot
A command for a discord bot to send private pull requests with a rich preview in Discord.
This repo contains:
- An installable cog, so you can include `/pull_request` command in your bot.
- A simple Discord bot that already includes the `/pull_request` command.

## How to run the bot
- Populate .env: `cp .env.sample .env`
- Fill the .env with as desired
- Run bot: `make`
## How to install it on your bot
Install the library:
````shell
pip install https://github.com/EnriqueSoria/github_discord.git
````
Add the cog to your bot:
```python
from github_discord.cogs.pull_requests import PullRequests
bot = discord.Bot()
bot.add_cog(PullRequests(bot))
```
## Use it (in discord)
Talk to your bot or add it to a group and send this message:
`/pending_reviews`