Whatsapp Scam Bot Prank Your Friends
by prabeenraj01 in Circuits > Computers
7318 Views, 1 Favorites, 0 Comments
Whatsapp Scam Bot Prank Your Friends
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
Download Animals List From Github
download this animals.txt file . you can use any thing like funny words text file or jokes
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
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
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
Add Your Friends Name
strore your friend name in any variable
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
Output
save and run the program open the whatsweb in advance place the cursor in the message box of your friend and wait