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

Description

logo

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

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

  • Login to the MongoDB website
  • Create your Database
  • Next, select the Database that you created again or click (Database > Connect > Drivers > Copy Your Application Code)
  • Paste the mongodb code that you copied into the .env file and don't forget to change <password> to your database password

Setup Your .env File

  • Edit your .env file
  • Rename .env.example to .env

Built With

TypeScript Prisma MongoDB

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

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
{
    "ownerNumber": ["YOUR_NUMBER"],
    "teamNumber": [],
    "timeZone": "Asia/Jakarta",
    "prefix": ".",
    "maintenance": [], // List Maintenance Command
    "stickers": {
        "author": "Instagram : ini.tobz",
        "packname": "Made by ChisatoBOT"
    },
    "settings": {
        "ownerNotifyOnline": false,
        "selfbot": false,
        "useLimit": false,
        "useCooldown": true,
        "autoReadMessage": true,
        "autoReadStatus": true
    },
    "call": {
        "status": "reject" // reject, block, off
    },
    "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;
    isProcess?: 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

TobyG74

Arugaz

Nugraizy

Zennn08 (Aqul)

MRHRTZ

Mhankbarbar

ItzNgga

xbnfz01

Faiz Bastomi

Alphanum404

DutaKey
  • Special Thanks for My Teams

Hidden-Finder

BOTWEA

Releases

No releases published

Packages

No packages published