WhatsBlaster
Automate WhatsApp messages
Install / Use
/learn @kyleissuper/WhatsBlasterREADME
Automatically send WhatsApp messages
from WhatsBlaster import WhatsBlaster
W = WhatsBlaster(path_to_chromedriver)
print W.send_message(
"Mickey Mouse", # exact WhatsApp contact name
"Hello!" # message to send
) # returns success/failure message
W.close()
Requires selenium (pip install selenium), and driver may need some configuration. Tested and works on MacOS with Google Chrome.
Mass-messaging
I personally use pandas to iterate through a spreadsheet when notifying >60 club members about student events. But it's just as easy to accomplish a message blast like this:
from WhatsBlaster import WhatsBlaster
names = [
"Mickey Mouse",
"Minnie Mouse",
"Donald Duck",
"Daisy Duck",
"Goofy",
"Pluto",
"Boo Boo Chicken"
]
W = WhatsBlaster(path_to_chromedriver)
for name in names:
print W.send_message(
name, # exact WhatsApp contact name
"Hello!" # message to send
) # returns success/failure message
W.close()
Can I run this in the background?
Logging in requires you to manually scan the QR code with your WhatsApp mobile app, but after that, the script can be left to run on its own :)
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
