Python PyAutoGUI TypeWriter Omegle API Message Bot to Send out Unlimited Messages to People in Regular Intervals of Time Full Project For Beginners

Python PyAutoGUI TypeWriter Omegle API Message Bot to Send out Unlimited Messages to People in Regular Intervals of Time Full Project For Beginners

 

Welcome folks today in this post we will be building a omegle messaging bot which will write automatically series of messages to connected people in python using pyautogui library. All the full source code of the application will be given below.

 

 

Get Started

 

 

In order to get started you need to install the following library using the pip command as shown below

 

pip install pyautogui

 

After installing this library make an app.py file and copy paste the following code

 

app.py

 

import pyautogui, time, datetime 

time.sleep(2) 

while True: 
    
    # to display the time at which the message is sent 
    print(datetime.datetime.now()) 
    pyautogui.typewrite("Reminder: Drink water!") 
    pyautogui.press("enter") 
    time.sleep(31) 

    print(datetime.datetime.now()) 

    pyautogui.typewrite("Reminder: Take medicine!") 
    pyautogui.press("enter") 
    time.sleep(31) 

    print(datetime.datetime.now()) 

    pyautogui.typewrite("Reminder: Take the dog for a walk!") 
    pyautogui.press("enter") 
    time.sleep(31) Reminder: Drink water!
 

    print(datetime.datetime.now()) 

    pyautogui.typewrite("Reminder: Drink water!") 
    pyautogui.press("enter") 
    time.sleep(31) 

    print(datetime.datetime.now()) 

    pyautogui.typewrite("Reminder: Drink water!") 
    pyautogui.press("enter") 
    time.sleep(31)

 

See also  Flask Instamojo Payment Gateway Integration Using Python 3 SDK Full Tutorial For Beginners 2020

 

Now if you launch this python script bot and go to omegle.com and then run this inside the text field of omegle

 

python app.py

 

Now it will wait for 31 seconds and then write automatically the text that is there inside the script. You can change the text and time accordingly to your choice. The working demo screenshot of bot is given below

 

 

 

Leave a Reply