Skip to content

Latest commit

 

History

History
68 lines (48 loc) · 930 Bytes

README.md

File metadata and controls

68 lines (48 loc) · 930 Bytes

WhosInBot

Environment setup

You will need .env file, refer to .env.template Use aws configure to generate config files

Register webhook

Set Webhook

curl -XPOST https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/setWebhook?url=$WEBHOOK_URL/$TELEGRAM_BOT_TOKEN

Get Webhook Info

curl -XPOST https://api.telegram.org/bot$TELEGRAM_BOT_TOKEN/getWebhookInfo

Dependencies

Install AWS CLI tools

brew install awscli
aws configure --profile col.w.harris

Install serverless

npm install -g serverless

Build

make build

Run tests

make test

Deploy

source .env
make deploy

Links

TODO

  • start_roll_call
  • end_roll_call
  • responses: in, out, maybe
  • whos_in
  • set_title
  • shh / louder
  • set_in_for
  • stats (new)