A bot created to pull basic information from GitHub repositories and send them to Discord
-
Invite the bot to your server with this link
-
On GitHub, go to the repository you want to watch
-
Go to settings and create a new webhook
-
Select the endpoints you want to watch
-
Add https://githubwebhook.timemaster111.repl.co as the payload URL (change the payload type to application/JSON)
-
Create the webhook
You can now go back to Discord and use the following commands:
g!repo get <user/repo>
Note: The linked repository must be public for this to work
g!repo add <ID> <#channel>
g!repo remove <ID> <#channel>
And you're done!
✔ Pushes
✔ Branch Creation & Deletion
✔ Issue Actions & Comments
✔ Pull Requests (PR)