Skip to content
forked from JRoy/disgit

A cloudflare worker which provides better github->discord webhooks than the built in discord webhook executor.

License

Notifications You must be signed in to change notification settings

KyoriPowered/disgit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

disgit

A cloudflare worker script which provides better github->discord webhooks than the built in discord webhook executor.

Supported Events

The following webhook events are supported as of now;

Installation

  1. Go to your cloudflare worker dashboard by clicking here and create a new worker.
  2. Copy all the code from disgit.js and paste it into the script window of your worker.
  3. Click Save and Deploy and confirm your deployment.
  4. Create a new webhook in your GitHub repository/organization settings.
  5. Paste your worker's url into the Payload URL field and append (webhook id)/(webhook token) to the end.
    • For example if you had the worker url https://my-worker.test.workers.dev and the discord webhook url https://discord.com/api/webhooks/840438712203557422/8H3D57RQzftJmhw9VfEaLFLABjItuDScjU-c_nYKffb1hTlktLapwd, the payload url you should have in the GitHub webhook form is https://my-worker.test.workers.dev./840438712203557422/8H3D57RQzftJmhw9VfEaLFLABjItuDScjU-c_nYKffb1hTlktLapwd.
  6. Set the Content type to application/json
  7. You can configure the events to whichever you would like to receive. Remember that some events require you to explicitly pick them in "Let me select individual events" and will not send with the "Send my everything" option.
  8. Click Add webhook.
  9. That's it, you're all setup, and your webhooks should start coming in.

About

A cloudflare worker which provides better github->discord webhooks than the built in discord webhook executor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%