Telegram Hive account changes notifier bot
BOT_TOKEN=my_telegram_bot_token npx hive-notifier-bot
In order to create the bot on Telegram - follow this guide: https://core.telegram.org/bots#how-do-i-create-a-bot
This command takes only one argument and subscribes your Telegram account to the specified Hive account on blockchain. In the current version of the bot, you cannot be subscribed to more than one Hive account.
/subscribe @gtg
This command takes no arguments and unsubscribes you from the Hive account
/unsubscribe
In order to build this project you have to execute given commands:
pnpm install
npm run build
Before running the script you have to duplicate the .env.example
file and name it .env
.
Then using dotenv syntax fill all of desired fields inside of the .env
file.
In order to lint the project you have to first install the dependencies and then run the linter
# Lint the project
npm run lint
See LICENSE.md