Skip to content

Commit

Permalink
commenting out obs clipping
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Stream-PC committed Dec 20, 2022
1 parent 3ae283d commit 92cbd90
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pyclashbot/bot/states.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,22 +401,22 @@ def state_war(logger) -> Literal["restart", "account_switching"]:


#FOR OBS RECORDING OF ERRORS
def clip_that():
import pyautogui

#press key combination
pyautogui.keyDown("ctrl")
pyautogui.keyDown("shift")
time.sleep(0.33)
pyautogui.keyDown("r")
time.sleep(0.33)

#unpress
pyautogui.keyUp("r")
pyautogui.keyUp("ctrl")
pyautogui.keyUp("shift")
# def clip_that():
# import pyautogui

# #press key combination
# pyautogui.keyDown("ctrl")
# pyautogui.keyDown("shift")
# time.sleep(0.33)
# pyautogui.keyDown("r")
# time.sleep(0.33)

# #unpress
# pyautogui.keyUp("r")
# pyautogui.keyUp("ctrl")
# pyautogui.keyUp("shift")

print("Clipped this error!")
# print("Clipped this error!")



Expand Down

0 comments on commit 92cbd90

Please sign in to comment.