From ed55e128a887e6e3e74f5807c4ed66162e4801f8 Mon Sep 17 00:00:00 2001 From: bone0670 <56081843+bone0670@users.noreply.github.com> Date: Sat, 19 Jun 2021 23:25:03 -0400 Subject: [PATCH] v2.4.1 Fix captcha handling --- main.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 7e39c4b..d79b2fd 100644 --- a/main.py +++ b/main.py @@ -10,7 +10,7 @@ import ctypes -version = "v2.4" +version = "v2.4.1" with open("data\config.txt","r") as file: info = json.loads(file.read()) @@ -155,9 +155,10 @@ def on_message(resp): elif "Whoa there. Please tell us you're human!" in content:# If captcha appears stop_process(spam_process) - - input("Captcha detected, program paused. Press enter to restart.") - spam_process = start_spam_process() + + print_log("Captcha detected, program paused. Press enter to restart.") + input() + bot.sendMessage(channel_id,"p!h") if __name__ == "__main__": update_title()