Skip to content

lyfe00011/levanter

Repository files navigation

WhatsApp MD User Bot

A versatile WhatsApp Bot that supports multiple sessions, allowing you to manage more than one bot on the same deployment.

Important Links

Setup

Deploy on Koyeb

  • Open Deploy to get started with Koyeb.

Deploy on Render

  • Open Deploy to get started with Render.

Deploy on Panel

  • Open Deploy to get started with the Panel.

Deploy on VPS or PC (Example for Ubuntu)

Quick Installation

bash <(curl -fsSL http://bit.ly/43JqREw)

Manual Installation

  1. Install Git, ffmpeg, and curl:

    sudo apt -y update && sudo apt -y upgrade
    sudo apt -y install git ffmpeg curl
  2. Install Node.js:

    curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
    sudo -E bash nodesource_setup.sh
    sudo apt-get install -y nodejs
  3. Install Yarn:

    sudo npm install -g yarn
  4. Install pm2:

    sudo yarn global add pm2
  5. Clone Repository and Install Packages:

    git clone https://github.com/lyfe00011/levanter botName
    cd botName
    yarn install
  6. Enter Environment Variables:

    echo "SESSION_ID = Session_Id_you_Got_After_Scan_Dont_Add_This_Line_If_You_Can_Scan_From_Terminal_Itself
    PREFIX = .
    STICKER_PACKNAME = LyFE
    ALWAYS_ONLINE = false
    RMBG_KEY = null
    LANGUAG = en
    WARN_LIMIT = 3
    FORCE_LOGOUT = false
    BRAINSHOP = 159501,6pq8dPiYt7PdqHz3
    MAX_UPLOAD = 200
    REJECT_CALL = false
    SUDO = 989876543210
    TZ = Asia/Kolkata
    VPS = true
    AUTO_STATUS_VIEW = true
    SEND_READ = true
    AJOIN = true
    DISABLE_START_MESSAGE = false
    PERSONAL_MESSAGE = null" > config.env
  7. Edit config.env Using Nano (if needed):

    • To save, press Ctrl + O, then press Enter, and to exit, press Ctrl + X.
  8. Start and Stop the Bot:

    • To start the bot:
      pm2 start . --name botName --attach --time
    • To stop the bot:
      pm2 stop botName

Deploy on Replit

Run on Replit

  1. Fork the repository.
  2. Edit config.env.
  3. Click run.

Thanks To

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages