Post kills from Zkillboard's RedisQ to Slack
- Download the latest release's Lambda.zip.
- Upload Lambda.zip to your AWS Lambda Function.
- Set the Lambda Environment variables (see Config and Environment Variables).
- Run your Lambda on a schedule (http://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html). 5 minutes should work and cost only a few cents per month.
- Clone the repo
git clone https://github.com/MattCopenhaver/zkill-to-slack
. - Navigate into the cloned directory
cd zkill-to-slack
. npm install
.- Update the configuration file specific to your needs (see Config and Environment Variables).
node node/index.js
This will run infinitely until it is stopped or fails.
- There are very rarely failures due malformed or irregular Zkill data, so if you are running this on a server indefinitely, consider running this using a node process manager such as pm2.
- queueID: A unique identifier for your Zkill RedisQ, so that you do not get duplicate or miss kills.
- slackHookURL: The URL to your slack for Incoming Webhooks.
- channel: Your Slack channel
- watchForCorp: The corporation name for which you would like to be notified of kills.
- watchForAlliance: The alliance name for which you would like to be notified of kills.