newerton / bombcrypto-bot

This is a Python bot, which automates login, sends heroes to work, sends heroes home by rarity. Open source bot and totally free.
https://bombcrypto.io/
68 stars 40 forks source link

Time intervals #196

Closed selk92 closed 2 years ago

selk92 commented 2 years ago

Hello,

I'm trying to optimize the bot's settings but I don't understand how works these lines :

time_intervals -- | -- | -- send_heroes_for_work | array - [int, int] | Start and end time for bot to search for heroes to work refresh_heroes_positions | array - [int, int] | Start and end interval for bot to update map

Can you explain me with an example how start and end times works please ?

newerton commented 2 years ago

@selk92 Hello,

The send_heroes_for_work and the refresh_heroes_positions , works with minutes. These values are a range of minutes.

Example: send_heroes_for_work: [10,20]

The send_heroes_for_work function will run between 10 to 20 minutes. The bot will fetch a random value from 10 to 20 minutes.

selk92 commented 2 years ago

Perfect, I understood, thanks ;)