How to Create Python Spambot in 2 minutes (works on WhatsApp, Facebook, Instagram, Telegram & more)
I know I am barely using my mouse (cause I use keyboard shortcuts). So, if you need a separate tutorial on different keyboard shortcuts for programmers, let me know in the comment section.
Python version used: Python 3.9.1 (64 bit)
Package: PyAutoGUI (https://pypi.org/project/PyAutoGUI/)
Final Code:
import pyautogui
import time
time.sleep(3)
#spamtext = open("spamtext.txt","r")
spamtext = ['Hi','Hello','Bye Bye']
for msg in spamtext:
pyautogui.typewrite(msg)
Also, I am using pip3 instead of pip because I have python 2 installed which is set to default. You can use pip, pip2 or pip3 to install the package as PyAutoGUI is available for all the versions of python.
Tags:
spam bot
spambot for whatsapp
spambot facebook
instagram chatbot
telegram spambot
python spambot
spam someone with messages
loop message spam
spam bot on web
spambot in 4 lines of code