Not your average whatsapp bot.
PS: THIS USED TO BE MY LOCKDOWN PROJECT AND YE... THE PROJECT IS FAR FROM DEAD.
All images are fetched from reddit and cached in-memory every 5 minutes.
(above gifs may take a bit to load.)- Uses mongodb as primary db and redis(even for images) to cache, so the bot is pretty fast.
- NSFW commands can be enabled/disabled by admins.
- You won't be banned from WhatsApp unless you make the bot public, Just add the bot to your friends/family groups but nothing else.
- You can host the bot for free on Railway, 500 hours per month free.
- Clone the repo
- Edit the .env file.
- Watch a video on youtube to setup mongodb and change the db url.
- There are tons of guides on google to setup Snoowrap for reddit.
- Make sure to run the redis docker image.
- docker build -t wabot .
- docker run -p 8080:8080 wabot
- yarn --add to install dependencies.
- You need to have redis-server running on localhost.
- yarn run start
- Visit localhost:8080/qrcode, scan the qr and you're pretty good to go.
- Insult Api - https://insult.mattbas.org/api/
- Mom jokes - https://yomomma.info/
- Snoowrap for reddit - https://not-an-aardvark.github.io/snoowrap
- Whatsapp-web.js - https://wwebjs.dev/