A better GitHub webhook for Discord.
Discord's built-in GitHub webhook support (accessible by appending /github to a webhook URL) covers the basics, but the embeds look basic, they have no plans to add new events, and lack anti-spam measures for events such as star and watch.
Schlub aims to support more events, provide more information, and prevent spam.
- Create a webhook in your Discord server.
- Copy the webhook URL.
- Change the URL's domain from
discord.comtoschlub.fieryflames.dev. - Remove
api/webhooks/from the URL path. - At this point your URL should look like
https://schlub.fieryflames.dev/:webhookId/:webhookToken(webhookId will be a load of numbers, webhookToken will be a load of letters and numbers). - Use the new URL in your GitHub repository's webhook settings.
- Set the webhook's content type to
application/json. - If not already enabled, enable SSL verification.
- Done! if this is a new webhook, you should see a "Pong!" message from the webhook.
-
create -
delete -
fork -
issues* -
issue_comment -
pull_request* -
pull_request_review -
pull_request_review_comment -
member -
public -
push* -
commit_comment -
release -
watch -
star -
check_run -
check_suite -
discussion -
discussion_comment
* Not all actions may be implemented.