diff --git a/pywhatkit/whats.py b/pywhatkit/whats.py index 72dc831..f1cfee4 100755 --- a/pywhatkit/whats.py +++ b/pywhatkit/whats.py @@ -35,7 +35,7 @@ def sendwhatmsg_instantly( web.open(f"https://web.whatsapp.com/send?phone={phone_no}&text={quote(message)}") time.sleep(4) pg.click(core.WIDTH / 2, core.HEIGHT / 2 + 15) - time.sleep(wait_time - 4) + time.sleep(wait_time) core.findtextbox() pg.press("enter") log.log_message(_time=time.localtime(), receiver=phone_no, message=message)