It can be hard to track what the state of a project is after you have finished the initial build, so here we use webhooks to send data into discord to help us better manage projects. In this example we are making a channel for a project called tiny-tools
, so anytime you see this reverenced you can replace it with your own project-name
.
Table of content
Start by creating a new channel in Discord under the 🔔NOTIFICATIONS
category by clicking the + icon.
Then you will see a pop-up, select Text Channel and enter a name for you channel.
We to use the same name as the project repo on Github to keep names consistent. For example if the repo is named tiny-factories / tiny-tools
then we could name the channel tiny-tools
.
Once the channel is created click the ⚙to the right of the channel name to edit
Select the Webhooks tab from the left hand side and click Create WebHook .
Give it a clear name so we can easily manage all the webhooks like Channel-Name-Service
or in this case Tiny Tools Service
.
Copy the webhook URL to a safe place for later
Now we need to head over to Github in order to allow Github to send data to Discord. Head over to your repository and click on the ⚙️Settings tab. Then under the Webhooks section select add webhook .
You will be asked to authenticate.
Paste your webhook URL from earlier in to the Payload URL and add /github
to the end of the url. Then select application/json from the dropdown.