Skip to content

RPing/Ver.bot-notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ver.bot-notify


node (6.10.x) Donate

Ver.bot notify part.

Webhook part in here.

Deploy by yourself

NOTE: You should deploy the same major version as webhook part.

AWS Lambda(master branch)

  1. install dependency
npm i
  1. before deploy to AWS, install AWS CLI and configure it.

  2. create lambda function.

  3. set following environment variables.

CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
  1. If you want to update lambda function:
sh update-lambda.sh
  1. set a cron job ( e.g. CloudWatch Events) to match CHECK_DAYS in environment variables.

General server(normal-server branch)

  1. install dependency
npm i
  1. set following environment variables.
AWS_ACCESS_ID
AWS_SECRET_KEY
CHECK_DAYS
SKYPE_APP_ID
SKYPE_APP_SECRET
SLACK_BOT_TOKEN
TELEGRAM_BOT_TOKEN
  1. set a cron job to match CHECK_DAYS in environment variables.

LICENSE

AGPL-3.0