Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 649 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 649 Bytes

f2pool_telegram_bot

Simple but effective interface between f2pool and telegram bot

How to use it:

  1. Clone or download the folder.
  2. Add file secret.py in the root directory and insert the following variables:
    • token the telegram bot token.
    • f2pool_api_key the f2pool API key.

Example:

token = '123456789:ABCDEFG1234567'
f2pool_api_key = 'yr4nmtqfs4wemeiz'
  1. Run main.py.

  2. The script checks if the whitelist and error_log files exist, otherwise, it will create them.

  3. Insert the CHAT_ID of the users you want to allow to use the bot in whitelist.txt, one per line.

Contact me for any questions