Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 421 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 421 Bytes

dping (Discord Ping over HTTP)

This program provides a single HTTP endpoint (/notify/<message>) to send a DM to a specific discord user.

The following variables must be defined in a .env file:

DISCORD_TOKEN (discord bot token)
WEB_PORT (port number)
USER_ID (the u64 discord user id)

I use this mostly as a simple personal notification system 🙂

Credits: uses some sample code from the serenity examples