Tithibots / tithiwa

Automate Web WhatsApp with selenium in python.
MIT License
24 stars 22 forks source link

send_messages_at_time() method was added to Chatroom class #78

Closed ghostrider22 closed 2 years ago

ghostrider22 commented 2 years ago

date&time format --> yyyy-mm-dd hour:minute:second

sample input : tithiwabot.send_messages_at_time("Aman", "Hello","2021-10-20 20:22:47")

datetime.datetime.now() also gives milliseconds along with time, therefore string slicing had been used to remove milliseconds: str(datetime.datetime.now())[:-7]