Skip to content

Commit

Permalink
v2.4.1
Browse files Browse the repository at this point in the history
Fix captcha handling
  • Loading branch information
sterling-tenn committed Jun 20, 2021
1 parent 5da68c6 commit ed55e12
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit ed55e12

Please sign in to comment.