Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d83095

Browse files
Merge pull request avinashkranjan#1905 from whiteknight16/WatsAppBotAutogui
WhatsApp bot using autogui
2 parents b6df350 + 6e4f0c6 commit 3d83095

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
pip install -r requirements.txt
13+
14+
## Detailed explanation of script, if needed
15+
16+
## Output
17+
![Result](image.png)
18+
## Author(s)
19+
20+
Harsh Pandey
21+
22+
## Disclaimers, if any
23+
24+
Use it just for fun and not for any unethical purpose

‎WhatsAppSpammerBot/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pyautogui
2+
webbrowser
3+
time

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /