Skip to content

Heroine77/ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Custom ping

Send a custom message to a discord server by accesing a url.

Deploy custom server

If you want to deploy your own copy for personal use, just:

  1. 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).
  2. 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.
  3. Add an environment variable named 'URL' with the Discord webhook.

Usage

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

Contributions

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.

Disclaimer

This app is not affiliated with nor endorsed by Heroku nor Discord. The names, logos and services belongs to their respective owners.

About

ping from heroku to discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.2%
  • Procfile 1.8%