This is a basic WhatsappWebBot using https://github.com/orkestral/venom as a base
you have to have node js installed https://nodejs.org/de/download/
first you have to install all the requirements located in the requirements.txt
you also have to change yourNumber in message.author == "yourNumber" in line 33 and 39 in onMessage.js (inside the Scripts Folder) to your Whatsapp Number so only you have excess to the command you can also remove && message.author == "yourNumber" completely, but it is not recommended
there is a help command but is limited and doesn't contain every command for example the ban and unban command to limit users to use the bot (only works in groups at the moment)
after that you just have to Scan the Qr-Code in the console and it will start
just start the main.js with node
ping replys with pong
ytdl downloads YouTube video and sends it if under 64 mB
ytmp3 downloads YouTube video as mp3 File and sends if under 100 mB
reddit sends given amount of pictures from given subreddit
meme sends given amount of pictures from meme, me_irl, dankmemes subreddit
hentai sends given amount of pictures from Hentai subreddit
help sends help file
Media + Sauce checks anime Source via trace.moe
Image + Sticker sends image back as sticker
ban restricts user from using Bot inside Group
unban unbans user inside Group
Tested on Raspberry Pi 4b+ with Raspberry Os installed
This script isn't perfect in the slightest sense. Its just a small project I am working on in my free time so yeah maintaince is pretty poor but I try to do my best :D.