Formatting.
This commit is contained in:
parent
f9b121c96b
commit
93ee2bb257
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -166,3 +166,4 @@ cython_debug/
|
|||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
|
||||
|
|
@ -6,12 +6,15 @@ from pynput.keyboard import Key
|
|||
bot = SuperBot()
|
||||
timer = hours(8)
|
||||
|
||||
|
||||
def press_overload():
|
||||
bot.press_key('7')
|
||||
|
||||
|
||||
def press_loot():
|
||||
bot.press_key(' ')
|
||||
|
||||
|
||||
overload = Interval(timedelta(seconds=330), press_overload)
|
||||
loot = Interval(timedelta(seconds=70), press_loot)
|
||||
|
||||
|
|
|
|||
|
|
@ -13,9 +13,7 @@ bar = ChargingBar(max=inventories)
|
|||
|
||||
for inventory in range(inventories):
|
||||
progress = (inventory + 1) * 100 / inventories
|
||||
print(
|
||||
f"{datetime.now()}: Inventory {inventory + 1}"
|
||||
)
|
||||
print(f"{datetime.now()}: Inventory {inventory + 1}")
|
||||
bar.next()
|
||||
print()
|
||||
print()
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ from super_bot import SuperBot
|
|||
from datetime import datetime
|
||||
from progress.bar import ChargingBar
|
||||
|
||||
|
||||
bot = SuperBot()
|
||||
|
||||
bot.random_sleep(5000, 6000)
|
||||
|
|
@ -14,9 +13,7 @@ bar = ChargingBar(max=inventories)
|
|||
|
||||
for inventory in range(inventories):
|
||||
progress = (inventory + 1) * 100 / inventories
|
||||
print(
|
||||
f"{datetime.now()}: Inventory {inventory + 1}"
|
||||
)
|
||||
print(f"{datetime.now()}: Inventory {inventory + 1}")
|
||||
bar.next()
|
||||
print()
|
||||
print()
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
from super_bot import SuperBot
|
||||
from super_bot.timer import hours
|
||||
|
||||
|
||||
bot = SuperBot()
|
||||
timer = hours(4)
|
||||
bot.random_sleep(1000, 2000)
|
||||
|
|
|
|||
Loading…
Reference in a new issue