Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TobyG74/ChisatoBOT

Repository files navigation

logo

ChisatoBOT

This bot uses a library from Baileys

Give this repository a ⭐ if you like it

Contributors Forks Stargazers Issues GPL3 License

JOIN WITH OUT COMMUNITY

Author


TobyG74

Nugraizy

Description

logo

  • Chisato is a WhatsApp bot with various functions
  • There are various features available on Chisato BOT
  • ChisatoBOT has a beautiful terminal logger

Table of Contents

Getting Started

What is needed to run this project :

If you have problems, you can open an issue or join the community to ask questions about it

Setup Your Mongodb

  • Create a Mongodb Database. You can use MongoDB Atlas or use a local database
  • Get your Mongodb connection string. Example : mongodb+srv://username:[email protected]/myFirstDatabase?retryWrites=true&w=majority
  • Replace username, password, and myFirstDatabase with your database credentials
  • Copy the connection string, and paste it into the DATABASE_URL in your .env file

Setup Your .env File

DATABASE_URL=
DASHBOARD_PORT=3000
JWT_SECRET=
PROXY=
OCR_APIKEY=
  • Edit your .env file
  • Rename .env.example to .env

Built With

TypeScript Prisma MongoDB

Installation

Quick Installation (Recommended)

For Windows:

.\install.ps1

For Linux/macOS:

chmod +x install.sh
./install.sh

The installer will automatically:

  • Check all prerequisites (Git, Node.js, FFmpeg)
  • Install npm dependencies
  • Setup environment variables
  • Configure Prisma and database
  • Build the TypeScript project

Manual Installation

Clone this Project

git clone https://github.com/TobyG74/ChisatoBOT
cd ChisatoBOT

Install Dependencies

npm install

Setup Prisma

npx prisma db push

Build Project

npm run build

Run Project

  • Run with PM2
npm run pm2:start
  • Without PM2
npm start

Documentation

Dashboard

  • You can access the dashboard at http://localhost:3000 (if you use another port, adjust accordingly)
  • First you need to register your account by chatting with the bot and using the command .adminpanel (make sure your number is in the owner or team number in the config.json)
  • After registering, you can log in to the dashboard

logo

Configuration File config.json

  • ownerNotifyOnline to send a message to the Owner whenever the Bot is Online
  • useLimit for limit configuration, if true then every time the command will use the limit
  • useCooldown for cooldown configuration, if true then every time the command will use the cooldown
  • selfbot to make the bot only respond to the owner's number
  • autoReadMessage to make the bot automatically read messages
  • autoReadStatus to make the bot automatically read status updates
  • autoCorrect for correcting wrong commands
{
    "ownerNumber": ["YOUR_NUMBER_HERE"],
    "teamNumber": [],
    "timeZone": "Asia/Jakarta",
    "prefix": ".",
    "maintenance": [],
    "stickers": {
        "author": "Instagram : ini.tobz",
        "packname": "Made by ChisatoBOT"
    },
    "settings": {
        "ownerNotifyOnline": false,
        "useLimit": false,
        "useCooldown": false,
        "selfbot": false,
        "autoReadMessage": false,
        "autoReadStatus": false,
        "autoCorrect": true
    },
    "call": {
        "status": "reject"
    },
    "limit": {
        "command": 30
    },
    "cfonts": {
        "font": "block",
        "align": "center",
        "colors": [
            "green",
            "yellow"
        ],
        "background": "transparent",
        "letterSpacing": 0,
        "lineHeight": 0,
        "space": true,
        "maxLength": "0",
        "gradient": false,
        "independentGradient": false,
        "transitionGradient": false,
        "env": "node"
    }
}

Config Commands

  • Command configuration that you can use
type ConfigCommands = {
    name: string;
    alias: string[];
    usage?: string;
    category: string;
    description: string;
    cooldown?: number; // in seconds
    limit?: number;
    example?: string;
    isOwner?: boolean;
    isTeam?: boolean;
    isPrivate?: boolean;
    isPremium?: boolean;
    isGroup?: boolean;
    isGroupAdmin?: boolean;
    isGroupOwner?: boolean;
    isBotAdmin?: boolean;
    run: (args: CommandsObject) => unknown;
};

Maintenance Command

  • To change the command to maintenance status, just type : .commandname -m
  • To change it again, type the same command

Log Messages for those affected by Banned or Blocked

logo

Log Messages for Groups that are Muted

logo

Log Messages for Commands in Group Chat

logo

Log Messages for Commands in Private Chat

logo

Log Messages for Regular Messages

logo

Log Messages for Eval & Exec Message

logo


Community

  • Special thanks to the bot community below who helped develop ChisatoBOT

Arugaz

Zennn08 (Aqul)

MRHRTZ

Mhankbarbar

ItzNgga

xbnfz01

Faiz Bastomi

Alphanum404

DutaKey
  • Special Thanks for My Teams

Hidden-Finder

BOTWEA

About

Chisato BOT is a WhatsApp BOT that uses a library from Baileys

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14