Skip to content

Commit c75c38c

Browse files
committed
Spam Bot
1 parent 60de909 commit c75c38c

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

WhatsAppSpammerBot/image.png

462 KB
Loading

WhatsAppSpammerBot/main.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import pyautogui
2+
import webbrowser as wb
3+
import time
4+
wb.open("web.whatsapp.com")
5+
time.sleep(30)
6+
7+
# Use k=1 for infinite spamming
8+
# k=1
9+
#while k==1:
10+
# Else put a value in for loop for defined number of messages
11+
for i in range(50):
12+
pyautogui.typewrite("Your message in")
13+
pyautogui.press("enter")
14+
15+

WhatsAppSpammerBot/readme.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Package/Script Name
2+
3+
Short description of package/script
4+
5+
- pyautogui:To automate the GUI and Pressing the key
6+
- webbrowser:To open the webbrowser
7+
- time:For giving a sleep time
8+
9+
## Setup instructions
10+
11+
You can install these using pip install
12+
13+
## Detailed explanation of script, if needed
14+
15+
## Output
16+
![Result](image.png)
17+
## Author(s)
18+
19+
Harsh Pandey
20+
21+
## Disclaimers, if any
22+
23+
Use it just for fun and not for any unethical purpose

0 commit comments

Comments
 (0)