This commit is contained in:
Victor Jotham Ashioya 2024-11-21 16:29:50 +01:00 committed by GitHub
commit b2d1acff2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

15
Automate Whatsapp.py Normal file
View File

@ -0,0 +1,15 @@
# Install PyWhatkit
pip install pywhatkit
# Say you want to send a message
import pywhatkit
# syntax: phone number with country code, message, hour and minutes
pywhatkit.sendwhatmsg('+1xxxxxxxx', 'Message 1', 18, 52)
# Message to a Whatsapp group
import pywhatkit# syntax: group id, message, hour and minutes
pywhatkit.sendwhatmsg_to_group("write-id-here", "Message 3", 19, 2)