When trying to use the pywhatkit.sendwhatmsg_to_group_instantly() function, with correct params, I get an error saying:
Traceback (most recent call last):
File "C:\Users\Noam\PycharmProjects\Whatsapp\Whatsappdo.py", line 4, in <module>
pywhatkit.sendwhatmsg_to_group_instantly('XXXXXXXXXXXXXXXX', 'Test')
File "C:\Users\Noam\PycharmProjects\Whatsapp\venv\lib\site-packages\pywhatkit\whats.py", line 128, in sendwhatmsg_to_group_instantly
time.sleep(sleep_time)
NameError: name 'sleep_time' is not defined
Description
When trying to use the pywhatkit.sendwhatmsg_to_group_instantly() function, with correct params, I get an error saying:
https://stackoverflow.com/questions/72545794/pywhatkit-instant-message-to-group-gets-error-sleep-time-not-defined#comment128150880_72545794
To Reproduce
Copy the following code:
Change the group code (XXXXXXXXXXXXXXXX) to a valid one then run it.
Version Information