Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.
/ flexworkers-bot Public archive

Telegram bot that shows Flexpool ETH rewards for each worker.

Notifications You must be signed in to change notification settings

nekusu/flexworkers-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flexworkers-bot

Python 3.x required.

USAGE

  • Install required libraries: pip3 install -r requirements.txt.
  • Obtain your Telegram API ID.
  • Create a Telegram bot with @BotFather.
  • Set your API ID, API Hash and the token provided by BotFather in the config file.
  • Set your Telegram Chat ID, Flexpool ETH address and preferred currency in the config file.
  • Start bot: python3 bot.py.

The bot begins to collect data from the day it's run for the first time, it's impossible to obtain the earnings of each worker from previous days.

The script must be running all the time to collect daily data from the Flexpool API and for the bot to receive the commands.

You'll receive your earnings for the day at 00:05. You can also check all your collected earnings in the earnings folder.

In the event that one day's data has not been collected, you can manually run python3 earnings.py, otherwise the earnings will be accumulated along with those of the following day but won't be accurate for each worker.

Available Commands

  • /help - See all available commands.
  • /day yesterday | YYYY-mm-dd - Get earnings.
  • /summary start | end - Get summary.
  • /price currency - Get current ETH price.
  • /currency symbol - Change your currency.
  • /workers - List workers.

Summaries Examples

Earnings per Day

Accumulated Earnings

About

Telegram bot that shows Flexpool ETH rewards for each worker.

Topics

Resources

Stars

Watchers

Forks

Languages