Introduction: Whatsapp Scam Bot Prank Your Friends

About: Engineering Student in India

In this tutorial we are going how to make simple whatsapp bot by using python . for that we need , laptop or PC,

any IDE (like vs code or pycharm) or use Python idle use any favorite broswer you want to open whatsapp web

Step 1: Download Animals List From Github

download this animals.txt file . you can use any thing like funny words text file or jokes

Step 2: Open Python

1) First open python IDE or idle

2) import the following packages

3) pyautogui and time

4) Before the importing install the packages in the terminal

5) pyautogui package used to automate the keyboard

6) time is used to make delay in the program

Step 3: Make a Delay

use using time module we can make a delay we are making because after the executing the program we have go to whatsapp as much fast place the cursor in the message box so the program will work properly

Step 4: Open the Animals Text File

insert the txt file in the program in the read option . so we concatenate with our friend name by using for loop

Step 5: Add Your Friends Name

strore your friend name in any variable

Step 6: Use for Loop

by using for loop to iterate the each from list to concatenate with variable that we stored our friend name

and by using pytautogui write function to print the output without using your keyboad and pyautogui press function the press the enter button between each message automatically

Step 7: Output

save and run the program open the whatsweb in advance place the cursor in the message box of your friend and wait