We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cc97b3 + 3d7755a commit 1e960f6Copy full SHA for 1e960f6
pywhatkit/whats.py
@@ -45,7 +45,6 @@ def sendwhatmsg(
45
close_time: int = 3,
46
) -> None:
47
"""Send a WhatsApp Message at a Certain Time"""
48
-
49
if not core.check_number(number=phone_no):
50
raise exceptions.CountryCodeException("Country Code Missing in Phone Number!")
51
@@ -124,8 +123,7 @@ def sendwhatmsg_to_group_instantly(
124
123
"""Send WhatsApp Message to a Group Instantly"""
125
126
current_time = time.localtime()
127
128
- time.sleep(sleep_time)
+ time.sleep(4)
129
core.send_message(message=message, receiver=group_id, wait_time=wait_time)
130
log.log_message(_time=current_time, receiver=group_id, message=message)
131
if tab_close:
0 commit comments