Code Monkey home page Code Monkey logo

chisatobot's Introduction

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

chisatobot's People

Contributors

tobyg74 avatar xbnfz01 avatar dutakey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.