1.1.0 • Published 10 months ago

hive-notifier-bot v1.1.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
10 months ago

hive-notifier-bot

Telegram Hive account changes notifier bot

Running

BOT_TOKEN=my_telegram_bot_token npx hive-notifier-bot

Retrieving 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 @gtg

Unsubscribe from the account

This command takes no arguments and unsubscribes you from the Hive account

/unsubscribe

Developers guide

Building

In order to build this project you have to execute given commands:

pnpm install

npm run build

Configure

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 lint

License

See LICENSE.md

1.1.0

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago