Skip to content
/ whosinbot Public

A re-write of the WhosInBot Telegram bot using golang and serverless

Notifications You must be signed in to change notification settings

col/whosinbot

Repository files navigation

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)

About

A re-write of the WhosInBot Telegram bot using golang and serverless

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published