Skip to content

neilkuan/stepn-updater

Repository files navigation

Stepn Notify bot

Init

  • Create a telegram bot from botFather, and get the HTTP_TOKEN(TELEGRAM_NOTIFY).

  • export TELEGRAM_NOTIFY in your shell.

export TELEGRAM_NOTIFY=1234456789:xxxxxxxxxxxxxxxxxxxxxxxxxxxx

To Install

yarn

To testing

yarn test

To deploy

npx cdk deploy

Setting Telegram Bot webhook

curl \
"https://api.telegram.org/bot${TELEGRAM_NOTIFY}/setWebhook?url=${Lambda_Function_URL}"
---
{"ok":true,"result":true,"description":"Webhook was set"}

To destroy

npx cdk destroy

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published