Giter Site home page Giter Site logo

mr-blahaj / whatsapp-discord-link Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 1.97 MB

This app links your WhatsApp to Discord via discord.js and whatsapp-web.js

License: MIT License

JavaScript 100.00%
bot discord-bot discord-js whatsapp whatsapp-bot whatsapp-web whatsapp-web-js

whatsapp-discord-link's Introduction

WhatsAppDiscordLink

This app links your discord to whatsapp through the use of package whatsapp-web.js.

Packages Required

  • whatsapp-web.js
  • discord.js
  • qrcode-terminal
  • fs

How to use

Step 1: Create a server. To do that log into Discord, scroll down to the bottom untill you see a + icon, click it and follow the steps



Step 2: Enable Community. This can be done by going into Server Settings -> Community -> Enable Community. Click the Get Started Button and follow the steps.



Step 3: Invite your bot with manage server permissions. This can be done using this link and replacing {YourBotID} with Your Bot ID



Step 4: Copy your Bot Token. Token can be obtained by going to Discord Developer Portal and then going into applications -> Bot -> Reset Token. Once regerated you won't be able to view the token again, I reccomend you store it in a safe space.



Step 5: Paste your Bot Token on Line 2 of config.json



Step 6: Copy your server ID, this can be done by right clicking the server icon and clicking "Copy ID" button



Step 7: Paste your server ID on line 3 of config.js

Step 8: Execute index.js. After starting, the bot will automatically generate 3 channels which can later be re-named



If the channels are not generated, it means there was some problem with the permissions, check console for more info.

Step 9: After the channels are created, go to the log channel and wait for a qr code



Step 10: Scan the QR code using your WhatsApp Mobile app



All messages in your WhatsApp will automatically be Logged in your Discord



To reply to message, just send a message in the thread where the chat is, the message will automatically be posted to WhatsApp



whatsapp-discord-link's People

Contributors

mr-blahaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

juanmanues

whatsapp-discord-link's Issues

is it possible to...

is it possible to add a voice channel thing where the current whatsapp voice call links with the discord voice channel? (something like a slash command /call that joins the voice channel that the user is in and bridges the whatsapp voice call with the discord voice channel)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.