hive-notifier-bot v1.1.0
hive-notifier-bot
Telegram Hive account changes notifier bot
Running
BOT_TOKEN=my_telegram_bot_token npx hive-notifier-botRetrieving bot token
In order to create the bot on Telegram - follow this guide: https://core.telegram.org/bots#how-do-i-create-a-bot
Available bot commands on Telegram
Subscribe to the account
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 @gtgUnsubscribe from the account
This command takes no arguments and unsubscribes you from the Hive account
/unsubscribeDevelopers guide
Building
In order to build this project you have to execute given commands:
pnpm install
npm run buildConfigure
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.
Linting
In order to lint the project you have to first install the dependencies and then run the linter
# Lint the project
npm run lintLicense
See LICENSE.md