Send a custom message to a discord server by accesing a url.
If you want to deploy your own copy for personal use, just:
- Fork the project (or copy/paste it, but forking is nicer and it will automatically comply with the license, otherwise you need to mention me).
- Deploy your fork to Heroku or any other web service. The app is ready-to-deploy on Heroku, but it is just a Flask one-file app so other services should be fine.
- Add an environment variable named 'URL' with the Discord webhook.
Access the ping subpage with a message after the '?' that will be sent to discord: Example $curl <URL>/ping?Hello will post a 'Hello' message to the discord channel of the webhook. Remember that spaces and other characters need to be translated (if they aren't automatically) for example $curl <URL>/ping?Hello%20World
Although this project was made for personal use, if you want to send pull requests or make/suggest changes I'll be happy to discuss them. The conversion was manually made so it may not have all type of events into consideration.
This app is not affiliated with nor endorsed by Heroku nor Discord. The names, logos and services belongs to their respective owners.