Ver.bot notify part.
Webhook part in here.
NOTE: You should deploy the same major version as webhook part.
- install dependency
npm i
-
before deploy to AWS, install AWS CLI and configure it.
-
create lambda function.
-
set following environment variables.
CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
- If you want to update lambda function:
sh update-lambda.sh
- set a cron job ( e.g. CloudWatch Events) to match
CHECK_DAYS
in environment variables.
- install dependency
npm i
- set following environment variables.
AWS_ACCESS_ID
AWS_SECRET_KEY
CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
- set a cron job to match
CHECK_DAYS
in environment variables.