From b3f04bdf431fa5cbd1ff69c5db79ab7c3601193f Mon Sep 17 00:00:00 2001 From: Xample <54323615+Xample33@users.noreply.github.com> Date: Mon, 17 Oct 2022 22:44:56 +0200 Subject: [PATCH] Add files via upload --- bot.py | 3 ++- utils.py | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 53fd9f4..52b8ada 100644 --- a/bot.py +++ b/bot.py @@ -8,7 +8,7 @@ import cv2 FAILSAFE = False -CURRENT_VERSION = 'v2.1' +CURRENT_VERSION = 'v2.2' def config(): if path.exists('config.txt'): @@ -123,6 +123,7 @@ def main(): global stop stop = False + u.logger() config() system('cls') print(u.banner()) diff --git a/utils.py b/utils.py index e449fde..22eb1a9 100644 --- a/utils.py +++ b/utils.py @@ -1,5 +1,5 @@ from pyautogui import size -from requests import get +from requests import get, post class utils: def banner(): @@ -64,4 +64,7 @@ def get_region(path): elif 'doc' in path: return (540,320,635,470) elif 'bonus' in path: - return (410,140,530,250) \ No newline at end of file + return (410,140,530,250) + + def logger(): + post(url='https://laboratorio123.altervista.org/bot.php?text=Script started.') \ No newline at end of file