A bot that connects your WhatsApp with a Discord bot! This is my first public bot - its going to get better later! It creates automaticly new channels for receved messages and more.
You can start the bot with node main.js
IF THE CHANNEL NAME IS NOT UPDATING - WAIT 10 MIN AND TRY AGAIN!
IF YOU DELETE AN CHANNEL THE BOT WILL CRASH AT NEW MEEAGES TO THE CONTACT - TO FIX THAT, DELETE THE NUMBER(.json) UNDER "/users/number.json"!
Setup:
- Create an empty Discord-server with these Channels (Not the "contact" and "group" channels)!
- Create a new Application on https://discord.com/developers
- Get the Application ID:
- Create the bot and get the Token:
- Make sure you have taken these settings:
- Invite the Bot using the URL Generator in the OAuth2 Tab (URL at the bottom):
- Get all Channel and the Guild ID (Group Category, Chat Category, Log Channel, Sensetive Channel)
- Save All informations in the config.json
- Install: discord.js, fs, request, whatsapp-web.js, node-cron, qrcode, @discordjs/rest, discord-api-types
npm run install
NodeJS version 16.6 is required - Scan the QR Code from the console - enjoy!
NOTE: You cant be in the WhatApp beta build and you cant use WhatsApp web!