Skip to content

Get notifications sent to a Discord webhook whenever a PulsePoint incident is created within a certain range.

License

Notifications You must be signed in to change notification settings

Jarynnnn/PulsePoint-Discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PulsePoint-Discord

Get notifications sent to a Discord webhook whenever a PulsePoint incident is created within a certain range.

Uses a free MapQuest API key to visually map incident locations in relation to the configured alert region.

Configuration

Set up the app with the following in config.json

Key Value
agencies Array of PulsePoint agency IDs.
agencyLogoURL Image URL of the agency's logo.
userID The Discord User ID of the user you want to mention.
webhookURL URL of your Discord webhook.
checkInterval Time in minutes to check for incidents (5-10 min recommended to avoid flooding the API).
alertRegion.center 2 numbers representing the latitude and longitude of your location.
alertRegion.radius Radius in miles that you would like to get alerted for.
credentials.mapQuestKey Obtainable from MapQuest Developer

About

Get notifications sent to a Discord webhook whenever a PulsePoint incident is created within a certain range.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published