HOW TO MAKE A SPAM BOT IN PYTHON - Techies Hub

Breaking

Monday 4 January 2021

HOW TO MAKE A SPAM BOT IN PYTHON

Hi guys and welcome to my blog and today I am going to show you that how you can make a BOT using python.

We will use "for loops" to perform 




Packages required

Pyautogui  ~ pip install pyautogui

Code:

Copy and Paste this code below:

import pyautogui
f=open("themessage",'r')
for word in f:
    pyautogui.typewrite(word)
    pyautogui.press('enter')

MAKE A FILE WITH THE MESSAGE:

-Then open your file with cmd and boom you have your bot there


Thanks for reading and giving your precious time to my blog!


2 comments: