Skip to content

A roundabout way of using your own fine grained token in order to create a Discord webhook for any repo for any server. Easily customizable and safe. Made so that you don't need to have a token generated by a organization manager.

License

Notifications You must be signed in to change notification settings

101Symbol101/Discord-Github-Notifier

Repository files navigation

Hey! This is a very informal explanation on the uses of this project.

Setup

start_notifier.bat

At line 3, you need to edit that to be the current path that this has been installed to.
At line 5, you need to edit that to be your github token.

Github Token Setup

To get yourself a github token, navigate to https://github.com/settings/personal-access-tokens.
Open fine-grained tokens and click generate new token.
Name it, set the resource owner as yourself.
On expiration, set it to custom and place eexpiration as 6 months from the day you set it up (note that you will have to replace the token every 6 months!).

start_notifier.vbs

At line 2, you need to edit that to be the current path that this has been installed to.

github_issue_notifier.py

At line 12, set this as the team/repo that you are monitoring.
At line 17, set this as your user ID on Discord (enable developer mode and right click your profile on any message you've sent. Click copy user ID).
At line 20,23,26, set these as your webhooks for each discord channel in your server. You may also set these to be all in one channel (to make a webhook, watch a video).
At line 29, this is how long the application waits before checking again. I highly recommend not changing this.
At lines 32-34, do not edit this unless you know what you're doing. It is for starting population (in 99.9% of cases) and is perfect.

Running

This application is hosted on your computer (which emans for it to work, your computer must be on). You can host it elsewhere and it won't break at all, but this usually costs money and I will not be supplying details on it as if you don't know how to do it, you shouldn't be doing it.
This application automatically starts when you boot up your computeer. It remembers all data from your previous uses.

Other Information

This application is open source and does not collect any of your data. Please read the license for further details.

About

A roundabout way of using your own fine grained token in order to create a Discord webhook for any repo for any server. Easily customizable and safe. Made so that you don't need to have a token generated by a organization manager.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages