Skip to content

Instantly share code, notes, and snippets.

@mallusrgreatv2
Created November 26, 2022 07:33
Show Gist options
  • Select an option

  • Save mallusrgreatv2/3246dac1393a1bbed9de0dfe20e0f1f2 to your computer and use it in GitHub Desktop.

Select an option

Save mallusrgreatv2/3246dac1393a1bbed9de0dfe20e0f1f2 to your computer and use it in GitHub Desktop.
Send your friend yo mama jokes indefinitely
import pyautogui, time, json, requests, keyboard, sys
time.sleep(5)
while True:
for x in range(1):
r = requests.get("https://api.yomomma.info")
joke = json.loads(r.content)["joke"]
pyautogui.typewrite(joke)
pyautogui.press('enter')
time.sleep(0.5)
if keyboard.is_pressed('ctrl'):
sys.exit(1)
certifi==2022.9.24
charset-normalizer==2.1.1
idna==3.4
keyboard==0.13.5
MouseInfo==0.1.3
PyAutoGUI==0.9.53
PyGetWindow==0.0.9
PyMsgBox==1.0.9
pyperclip==1.8.2
PyRect==0.2.0
PyScreeze==0.1.28
pytweening==1.0.4
requests==2.28.1
urllib3==1.26.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment