/cilok-bot

A whatsApp bot for whatsApp multi-device

Primary LanguageTypeScriptMIT LicenseMIT

Cilok-Bot - MD

Documentation

https://vexg.github.io/cilok-v3/

Installation

Note

  • This source code using pnpm as primary dependencies manager. Learn more
  • You can skip this section if you using heroku.

Requirements (Skip this section if you are using linux)

For Linux

bash ./src/install.sh

For Windows

start ./src/install.bat

Heroku

Buildpacks

Starting the BOT

Config

  • From "-.env" rename to ".env" in src and fill the value in that file.
  • Fill your client number (Optional) & your other / primary number in config.json to validate that you're the owner of the bot & you can change the response message, unicode, etc if you want to.

Run the BOT

  • run this command in your terminal
    • production
      pnpm build && pnpm start
      
    • development
      pnpm dev
      
  • scan the QR to make a session. session, chats will be stored in src/database
  • there will be some logs spamming because the logger level is set to info, you can change the value to silent in here to hide the spamming logs. Learn more