hive-notifier-bot

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i hive-notifier-bot

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

6.02 kB

Total Files

4

Last publish

Collaborators

  • mtyszczak