Skip to content

Daviwizzy/krypton-WhatsappBot

 
 

Repository files navigation

PFP

Don't forget to click ⭐️ and fork this repository


This whatsapp bot project use Baileys Multi-Device.


whatsapp-bot out-of-the-box support on...

Need help? please create an issues

Highlights


  • Written with NodeJS
  • Has a plugin that makes it easier to condition the user
  • Easy to maintenace without turning off the bot
  • Made with Baileys - MD (Best Library right now)
  • Using mongodb atlas (cluster example is in app.json) (helper MongoDB_Guide.md)
  • Suitable for those who want to learn Java Script programming

Hosting


  • Host the bot in any server
  • Use the session command to get the session in text format
  • Copy the session
  • Go to GitHub Gist
  • Paste the session
  • Create a gist with name of session.json
  • Copy the raw URL by clicking in the raw button at the top right corner
  • Paste the URL in the SESSION var

Tutorial

Here's a tutorial to set up Krypton Bot on your own account in less than 7 minutes. The tutorial for which is attached below.

How to deploy

Getting Started

This project require

Install

Clone this project

git clone https://github.com/Debanjan-San/krypton-WhatsappBot.git
cd krypton-WhatsappBot

Install the dependencies:

npm install

Setup

Create .env file based on .env.example, copy the mongo database URL into .env file

NAME=Krypton
PREFIX=!
MODS=917003213xxx
PORT=3000
WRITE_SONIC=
BG_API_KEY=
SESSION=
URL=mongodb+srv://<username>:<password>@cluster0.xxwc771.mongodb.net/?retryWrites=true&w=majority

Usage

Run the Whatsapp bot

npm start

Contributing

If you've ever wanted to contribute to open source, now is your chance!

  • Feel free to open an issue regarding any issue or if you have any feature requests

  • Make sure to follow the ESLint Rules while editing the code and run npm run format before opening PRs

  • If you want to contribute

    1. Fork this repository
    2. edit/change what you want, for example you want to add features/fix bugs
    3. Test first
    4. You can submit a pull request
    5. If it accepts then delete the old fork and the new fork if you want to pull the request again

License

since whatsapp-bot use baileys is now available under the GPL-3.0 license. See the LICENSE file for more info.


Join the community to build Whatsapp-Bot together!

AliAryanTech
AliAryanTech

💻

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.3%
  • Other 0.7%