Skip to content

Commit efd2ecf

Browse files
committed
Change sleep times to follow core functions
1 parent 1447f5a commit efd2ecf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pywhatkit/whats.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def sendwhatmsg_instantly(
2626
raise exceptions.CountryCodeException("Country Code Missing in Phone Number!")
2727

2828
web.open(f"https://web.whatsapp.com/send?phone={phone_no}&text={quote(message)}")
29-
time.sleep(4)
29+
time.sleep(7)
3030
pg.click(core.WIDTH / 2, core.HEIGHT / 2)
31-
time.sleep(wait_time - 4)
31+
time.sleep(wait_time - 7)
3232
pg.press("enter")
3333
log.log_message(_time=time.localtime(), receiver=phone_no, message=message)
3434
if tab_close:

0 commit comments

Comments
 (0)