This is a light version of a script I made for a TikTok, expect to be errors in the code, I'm too lazy to debug/fix them, PRs are welcome.
This project uses whatsapp-web.js thus it needs Node.
Clone the repo
git clone https://github.com/Jpe230/Ultra_Basic_Whatsapp_Bot.git
cd Ultra_Basic_Whatsapp_Bot
Install NodeJS using your favorite way
(Example instructions for debian users)
(sudo) apt(-get) install node
Create a .env file inside the repo folder and edit the recipient's number and your schedule time
touch example.env
echo "RECIPIENT=XXXXXXXXX" > example.env
echo "TIME="* * * * *"" > example.env
Install dependecies and start the script using
npm install && node index.js
I made this just for fun, I don't expect to update this code, but PR's are welcome.