This JavaScript bot is designed to have some stats and infos for your validator. Follow the steps below to get started:
First, ensure you have Node.js installed on your machine. You can download it here.
Next, clone this repository to your local machine:
git clone https://github.com/ParagonValidator/Stats-Bot.git
Navigate to the project directory:
cd Stats-Bot
Install the necessary dependencies using either npm or yarn:
npm install
or
yarn
Before running the bot, you need to set up your environment variables. Copy the .env.example
file and rename it to .env
. Fill in the required values for the environment variables listed in the file.
The telegram token can be generated using BotFather
Once you have installed the dependencies and configured the environment variables, you can start the bot by running:
node bot.js
The bot will now be up and running, performing its designated tasks.
Once this script is running you can add your bot to your Telegram chat then calling /start
will make it print its commands.
If you'd like to contribute to this project, feel free to fork the repository and submit a pull request with your changes. Any contributions are welcome!
If you encounter any issues with the bot, please open an issue on the GitHub repository. Be sure to provide detailed information about the problem you're experiencing.