RPing / Ver.bot-notify

Ver.bot notify part.

Home Page:https://rping.github.io/Ver.bot-site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Ver.bot notify part.

https://rping.github.io/Ver.bot-site

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 99.0%Language:Shell 1.0%