Skip to content

An intermediary PHP script for parsing Discourse webhooks into payloads for Discord webhooks.

License

Notifications You must be signed in to change notification settings

DangerousThings/discourse-to-discord-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

Discourse to Discord Webhook

This PHP script acts an intermediary between Discourse and Discord, receiving webhooks from Discourse and parsing them into an optimal format before relaying them to Discord.

Demo

See it in action and test it out for yourself on Crit Cola's Discourse and Discord.

Installation

Just clone it!

git clone https://github.com/critcola/discourse-to-discord-webhook.git

This has been tested with and is supported on PHP 7.1, but should work fine on older versions of PHP.

Configuration

Copy config-template.php to config.php and populate all non-optional variables after configuring webhooks in both Discourse and Discord.

About Crit Cola

Crit Cola is connecting and empowering the world's best players. Primarily an Overwatch clan, we're a growing community of PC gamers. Join our Steam group and follow us on Twitter. Cheers!

License

The Discourse to Discord Webhook script is released under the MIT License.

About

An intermediary PHP script for parsing Discourse webhooks into payloads for Discord webhooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%